This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]