LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: linux-kernel@vger.kernel.org
Subject: Linux should define ENOTSUP
Date: Wed, 6 Dec 2006 14:51:34 +0100 [thread overview]
Message-ID: <20061206135134.GJ3927@implementation.labri.fr> (raw)
Hi,
ENOTSUP is not used at all by linux (though it is defined for parisc),
while as susv3 specifies, ENOTSUP shall be different than EOPNOTSUPP.
Is there a reason for doing so? (except history)
Currently, code like
switch(errno) {
ENOTSUP:
foo();
break;
EOPNOTSUP:
bar();
break;
}
just can't compile...
Is there any way to fix this? Glibc people don't seem to want to fix it
on their part, see
http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363
Samuel
next reply other threads:[~2006-12-06 13:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 13:51 Samuel Thibault [this message]
2006-12-06 14:25 ` Arjan van de Ven
2006-12-06 14:31 ` Samuel Thibault
2006-12-06 15:17 ` H. Peter Anvin
2006-12-06 20:10 ` Ulrich Drepper
2006-12-06 21:11 ` H. Peter Anvin
2006-12-06 22:34 ` Ulrich Drepper
2006-12-07 13:49 ` Theodore Tso
2006-12-07 13:59 ` Andreas Schwab
2006-12-07 14:15 ` Theodore Tso
2006-12-07 14:30 ` Andreas Schwab
2006-12-07 15:33 ` Ulrich Drepper
2006-12-06 15:16 ` H. Peter Anvin
2006-12-06 15:25 ` Samuel Thibault
2006-12-06 15:26 ` H. Peter Anvin
2006-12-06 15:34 ` Samuel Thibault
2006-12-06 15:35 ` H. Peter Anvin
2006-12-06 16:14 ` Samuel Thibault
2006-12-06 16:44 ` H. Peter Anvin
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=20061206135134.GJ3927@implementation.labri.fr \
--to=samuel.thibault@ens-lyon.org \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: Linux should define ENOTSUP' \
/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
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 NNTP newsgroup(s).