reopen should return NULL when oflags is less than 0, not equal to 0.
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.
Loading
Please register or sign in to comment
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.