Skip to content

Commit

Permalink
Incorporate fix in support of Unidata#2437 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Feb 7, 2023
1 parent 26dccc2 commit 45d8598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/posixio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ posixio_open(const char *path,
#endif
if(fd < 0)
{
status = errno;
status = errno ? errno : ENOENT;
goto unwind_new;
}
*((int *)&nciop->fd) = fd; /* cast away const */
Expand Down

0 comments on commit 45d8598

Please sign in to comment.