View Issue Details

IDProjectCategoryView StatusLast Update
0000571LDMud 3.5Portabilitypublic2008-09-11 09:52
Reporterzesstra Assigned To 
PrioritynoneSeverityminorReproducibilityN/A
Status newResolutionopen 
Summary0000571: Using strerror() to get meaningful error messages from errno
DescriptionSome parts of the driver (e.g. comm.c, ERQ daemon) use switch(errno) to convert errno to some error message. Some don't even bother with that at just output the plain errno (e.g. swap.c).
I suggest to use strerror(errno) in the long run for this. It is easier and probably more portable. It could ease debugging, because if someone reports 'errno 104' in a bug report, it has no real meaning in itself. One has to look up the 104 in /usr/include/*/errno.h on the same system the error occurred. (E.g. ECONNRESET is 104 on Linux, but 54 on MacOS X/Darwin).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2008-09-11 09:52 zesstra New Issue