summaryrefslogtreecommitdiff
path: root/src/errno
AgeCommit message (Collapse)AuthorLines
2014-03-05fix strerror on mips: one error code is out of the 8-bit table rangeRich Felker-1/+7
if we ever encounter other targets where error codes don't fit in the 8-bit range, the table should probably just be bumped to 16-bit, but for now I don't want to increase the table size on all archs just because of a bug in the mips abi.
2013-02-07fix typo in newly-added error message for EOWNERDEADRich Felker-1/+1
2013-02-07improve error stringsRich Felker-27/+30
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.
2012-04-16better description for errno==0Rich Felker-1/+1
2011-08-06simplify multi-threaded errno, eliminate useless function pointerRich Felker-3/+2
2011-02-21change errno to static linkage (improves PIC code generation)Rich Felker-4/+2
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+134