The function that sets the h_errno variable was bogus. A long time ago there were calls to the herrno and hstrerrno functions that retrieved the value to be set. But when those functions became obsolete a quick fix was made which unconditionally set 1514 as the value for h_errno. This always made a function call appear to fail if you checked the h_errno variable.
We have now fixed it so that a value of zero (0) is always set for h_errno so that it no longer appears that an error has occured.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The function that sets the h_errno variable was bogus. A long time ago there were calls to the herrno and hstrerrno functions that retrieved the value to be set. But when those functions became obsolete a quick fix was made which unconditionally set 1514 as the value for h_errno. This always made a function call appear to fail if you checked the h_errno variable.
We have now fixed it so that a value of zero (0) is always set for h_errno so that it no longer appears that an error has occured.