diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-02-07 03:05:54 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-02-07 03:05:54 -0500 |
commit | d75348ddda4e63c2a36c292a5b64b78d46e24422 (patch) | |
tree | 42c80e9a40c56b84c32a3e6147c5c47a8216ca9b /src/network/htons.c | |
parent | 526900484ca5673630a5838e081db685c6856fe2 (diff) | |
download | musl-d75348ddda4e63c2a36c292a5b64b78d46e24422.tar.gz |
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.
Diffstat (limited to 'src/network/htons.c')
0 files changed, 0 insertions, 0 deletions