Menu

#1323 rxsock always setting h_errno to 1541

5.0.0
closed
None
none
1
2023-01-01
2015-02-16
No

All of the rxsock functions unconditionally set the h_errno variable to 1541, regardless of whether there is an error or no.

Discussion

  • David Ashley

    David Ashley - 2015-02-17
    • status: open --> pending
    • assigned_to: David Ashley
     
  • David Ashley

    David Ashley - 2015-02-17

    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.

     
  • Rony G. Flatscher

    • Group: None --> 5.0.0
     
  • Rony G. Flatscher

    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel