* sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
This commit is contained in:
Ulrich Drepper 1999-01-22 14:14:28 +00:00
parent bd4848fb22
commit d480547e99
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
1999-01-22 Ulrich Drepper <drepper@cygnus.com> 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
* iconv/gconv_conf.c (add_alias): Convert names to uppercase before * iconv/gconv_conf.c (add_alias): Convert names to uppercase before
adding into search tree. adding into search tree.
(add_module): Likewise. (add_module): Likewise.

View File

@ -1,4 +1,4 @@
# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. # Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or # The GNU C Library is free software; you can redistribute it and/or
@ -27,6 +27,7 @@
BEGIN { BEGIN {
alias["EWOULDBLOCK"] = "EAGAIN"; alias["EWOULDBLOCK"] = "EAGAIN";
alias["EDEADLOCK"] = "EDEADLK"; alias["EDEADLOCK"] = "EDEADLK";
alias["ENOTSUP"] = "EOPNOTSUPP";
print "/* This file is generated from errno.texi by errlist.awk. */" print "/* This file is generated from errno.texi by errlist.awk. */"
print ""; print "";

View File

@ -574,7 +574,7 @@ TRANS particular function will always fail with @code{ENOSYS} unless you
TRANS install a new version of the C library or the operating system. */ TRANS install a new version of the C library or the operating system. */
[ERR_REMAP (ENOSYS)] = N_("Function not implemented"), [ERR_REMAP (ENOSYS)] = N_("Function not implemented"),
#endif #endif
#ifdef ENOTSUP #if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP
/* /*
TRANS Not supported. A function returns this error when certain parameter TRANS Not supported. A function returns this error when certain parameter
TRANS values are valid, but the functionality they request is not available. TRANS values are valid, but the functionality they request is not available.