6 Commits

Author SHA1 Message Date
Rich Felker
b9e08308f4 fix typo in newly-added error message for EOWNERDEAD 2013-02-07 03:13:35 -05:00
Rich Felker
d75348ddda improve error strings
this definitely has the potential to be a bikeshed topic, so some
justification is in order. most of the changes made fit into one of
the following categories:
1. alignment with text in posix, xsh 2.3
2. eliminating overly-specific text for shared error codes
3. making the message match more closely with the macro name
4. removing extraneous words

in particular, the EAGAIN/EWOULDBLOCK text is updated to match the
description of EAGAIN (which covers both uses) rather than saying the
operation would block, and ENOTSUP/EOPNOTSUPP is updated not to
mention sockets.

the distinction between ENFILE/EMFILE has also been clarified; ENFILE
is aligned with the posix text, and EMFILE, which lacks concise posix
text matching any historic message, is updated to emphasize that the
exhausted resource is not open files/open file descriptions, but
rather the integer 'address space' of file descriptors.

some messages may be further tweaked based on feedback.
2013-02-07 03:05:54 -05:00
Rich Felker
9d2a15a64e better description for errno==0 2012-04-16 18:37:53 -04:00
Rich Felker
357876052b simplify multi-threaded errno, eliminate useless function pointer 2011-08-06 20:20:23 -04:00
Rich Felker
71e6be641f change errno to static linkage (improves PIC code generation) 2011-02-21 23:00:52 -05:00
Rich Felker
0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00