* libc/include/sys/errno.h (ESTRPIPE): Define.
* libc/string/strerror.c (strerror): Decode it.
This commit is contained in:
parent
159a17c8c8
commit
044af76e50
@ -1,3 +1,8 @@
|
||||
2009-03-15 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||
|
||||
* libc/include/sys/errno.h (ESTRPIPE): Define.
|
||||
* libc/string/strerror.c (strerror): Decode it.
|
||||
|
||||
2009-03-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
|
||||
|
@ -151,6 +151,7 @@ extern __IMPORT int sys_nerr;
|
||||
#define ECANCELED 140 /* Operation canceled */
|
||||
#define ENOTRECOVERABLE 141 /* State not recoverable */
|
||||
#define EOWNERDEAD 142 /* Previous owner died */
|
||||
#define ESTRPIPE 143 /* Streams pipe error */
|
||||
|
||||
|
||||
/* From cygwin32. */
|
||||
|
@ -283,6 +283,9 @@ State not recoverable
|
||||
o EOWNERDEAD
|
||||
Previous owner died
|
||||
|
||||
o ESTRPIPE
|
||||
Strings pipe error
|
||||
|
||||
o-
|
||||
|
||||
RETURNS
|
||||
@ -760,6 +763,11 @@ _DEFUN (strerror, (errnum),
|
||||
error = "Previous owner died";
|
||||
break;
|
||||
#endif
|
||||
#ifdef ESTRPIPE
|
||||
case ESTRPIPE:
|
||||
error = "Streams pipe error";
|
||||
break;
|
||||
#endif
|
||||
#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP))
|
||||
case EOPNOTSUPP:
|
||||
error = "Operation not supported on socket";
|
||||
|
Loading…
Reference in New Issue
Block a user