You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Wei Song
Original Redmine Issue: 518 from https://www.veripool.org
Original Date: 2012-05-22
Original Assignee: Wilson Snyder (@wsnyder)
In VPreProc.cpp:
function VPreProcImp::readWholefile
The "open" function returns -1 when failing to open a file.
However, "if(!fd)" will fail to check the error.
I found this problem as I am directly using the preprocessor in my own project.
Running with the perl wrapper will not show any problem because, to my understanding, perl will first check the file existence.
The text was updated successfully, but these errors were encountered:
Author Name: Wei Song
Original Redmine Issue: 518 from https://www.veripool.org
Original Date: 2012-05-22
Original Assignee: Wilson Snyder (@wsnyder)
In VPreProc.cpp:
function VPreProcImp::readWholefile
The "open" function returns -1 when failing to open a file.
However, "if(!fd)" will fail to check the error.
I found this problem as I am directly using the preprocessor in my own project.
Running with the perl wrapper will not show any problem because, to my understanding, perl will first check the file existence.
The text was updated successfully, but these errors were encountered: