public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP)
@ 2006-12-06 13:23 samuel dot thibault at ens-lyon dot org
  2006-12-06 15:44 ` [Bug manual/3665] " tschwinge at gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2006-12-06 13:23 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-22 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-06 13:23 [Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP) samuel dot thibault at ens-lyon dot org
2006-12-06 15:44 ` [Bug manual/3665] " tschwinge at gnu dot org
2007-01-21 23:19 ` samuel dot thibault at ens-lyon dot org
2007-07-12 23:51 ` samuel dot thibault at ens-lyon dot org
2007-07-22 12:46 ` tschwinge at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).