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
open_ibfile assumes open() == 0 is an error. The correct check is open() < 0.
int open_ibfile(char *fname) {
struct stat fstat;
int fn;
...
fn = open(fname, O_RDONLY, 0);
if (!fn) error("Can't open file!");
Original issue reported on code.google.com by [email protected] on 8 Oct 2009 at 3:59
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 8 Oct 2009 at 3:59The text was updated successfully, but these errors were encountered: