This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP)
- From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 Dec 2006 13:23:24 -0000
- Subject: [Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP)
- Reply-to: sourceware-bugzilla at sourceware dot org
In manual/errno.texi, 118 is assigned twice: both to ENOTSUP and to
ECANCELED.
That makes
switch(errno) {
case ENOTSUP:
foo();
break;
case ECANCELED:
bar();
break;
}
not compilable on systems that make use of these numbers for defining
E* constants (the Hurd, for instance).
--
Summary: errno 118 assigned twice (ECANCELED and ENOTSUP)
Product: glibc
Version: 2.3.6
Status: NEW
Severity: normal
Priority: P2
Component: manual
AssignedTo: roland at gnu dot org
ReportedBy: samuel dot thibault at ens-lyon dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3665
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.