Opened 4 years ago

#364 new defect

Support more OS/2 APIRET codes to convert to errno

Reported by: dmik Owned by:
Priority: normal Milestone: new
Component: libc Version: 0.6.5
Severity: normal Keywords:


In particular, ERROR_TIMEOUT from Dos*Wait* functions (e.g. waiting on a mutex) is currently mapped to EINVAL which is completely misleading. The supplied patch maps it to ETIMEDOUT (this is originally for connections but this is also sorta connection request and I couldn't find anything better, EAGAIN is returned if the wait would block which is not the same as the timeout).

Attachments (1)

more_apiret2errno.diff (4.1 KB) - added by dmik 4 years ago.

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by dmik

Attachment: more_apiret2errno.diff added
Note: See TracTickets for help on using tickets.