public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug manual/3665] New: errno 118 assigned twice (ECANCELED and ENOTSUP)
Date: Wed, 06 Dec 2006 13:23:00 -0000	[thread overview]
Message-ID: <20061206132323.3665.samuel.thibault@ens-lyon.org> (raw)

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.


             reply	other threads:[~2006-12-06 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-06 13:23 samuel dot thibault at ens-lyon dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061206132323.3665.samuel.thibault@ens-lyon.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).