Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-12-06 Thread Samuel Thibault
Hi, The issue was raised at opengroup, see http://www.opengroup.org/austin/aardvark/latest/xbdbug2.txt ENOTSUP and EOPNOTSUPP may then be equal. Samuel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-27 Thread Gabor Gombas
On Fri, Feb 24, 2006 at 08:46:23AM +, Brian M. Carlson wrote: > Neither side is willing to "lose" and give in all the way. I tried a > compromise. Apparently, that didn't work, so let me try another one: > glibc could no longer claim compliance with SUSv3/POSIX 1003.1-2001 or > SUSv2. Then

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-24 Thread Brian M. Carlson
On Thu, 2006-02-23 at 13:24 +0100, Gabor Gombas wrote: > On Thu, Feb 23, 2006 at 04:30:55AM +, Brian M. Carlson wrote: > > > > By introducing a new define, you are breaking standard compliance. > > > > Well, there is no better way. You want to preserve binary compatibility > > at the expense

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-23 Thread Gabor Gombas
On Thu, Feb 23, 2006 at 04:30:55AM +, Brian M. Carlson wrote: > > By introducing a new define, you are breaking standard compliance. > > Well, there is no better way. You want to preserve binary compatibility > at the expense of all else. I want to preserve standards compliance at > the exp

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-22 Thread Brian M. Carlson
On Tue, 2006-02-21 at 16:22 +0100, Aurelien Jarno wrote: > Brian M. Carlson a écrit : > > It's been done at least once before. However, if there were a libc7, > > Could please give me the number of packages affected and compare to now? I don't know how many packages were in hamm, because the ear

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-22 Thread Daniel Jacobowitz
On Thu, Feb 23, 2006 at 04:14:40AM +, Brian M. Carlson wrote: > Second, glibc claims (as I have just shown in another message) that it > conforms to POSIX 1003.1-2001. Therefore, currently I can expect that > the errors are different. Anyway, I don't want to have to work around > every Unix's

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-22 Thread Brian M. Carlson
On Tue, 2006-02-21 at 16:44 -0800, Russ Allbery wrote: > The sad part is that if it's just an issue with duplicate case statements, > it's a two-line fix. > > case ENOTSUP: > case EOPNOTSUPP: > > becomes: > > case ENOTSUP: > #if ENOTSUP != EOPNOTSUPP > case EOPNOTSUPP: > #endif

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-22 Thread Brian M. Carlson
On Tue, 2006-02-21 at 16:25 +0100, Aurelien Jarno wrote: > severity 227386 wishlist > thanks > > I have found no place where either the Linux kernel, the GNU libc or > Debian claim full POSIX compliance. Therefore this a wishlist. > > If you found such a place, I will upgrade the bug back to min

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-21 Thread Russ Allbery
Aurelien Jarno <[EMAIL PROTECTED]> writes: > Why you don't fix your code instead of creating more problems than you > try to solve? You say us you already have a technical solution in your > code for EWOULDBLOCK and EAGAIN. Please apply the same for ENOTSUP and > EOPNOTSUPP. The sad part is that

Processed: Re: Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-21 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > severity 227386 wishlist Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3 Severity set to `wishlist'. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system ad

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-21 Thread Aurelien Jarno
Brian M. Carlson a écrit : On Mon, 2006-02-20 at 07:51 +0100, Aurelien Jarno wrote: The problem is not that there is currently not possibility to fix the bug without broking everything, at least nobody found one. Please provide us a patch instead of complaning. Attached. We can't change

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-21 Thread Aurelien Jarno
severity 227386 wishlist thanks I have found no place where either the Linux kernel, the GNU libc or Debian claim full POSIX compliance. Therefore this a wishlist. If you found such a place, I will upgrade the bug back to minor. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 :

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-21 Thread Gabor Gombas
On Tue, Feb 21, 2006 at 06:23:21AM +, Brian M. Carlson wrote: > > (void *)strerror(error_code); > > Not thread safe. Then use strerror_r(). > Also, this code does not check that it is a *POSIX* > error code. If you check the Linux sources, you can see that there are > many error

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-20 Thread Brian M. Carlson
On Mon, 2006-02-20 at 07:51 +0100, Aurelien Jarno wrote: > Brian M. Carlson a écrit : > > # bcc'd to control > > forwarded 227386 http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 > > thanks, control, and have a nice day > > > > On Sun, 2006-02-19 at 17:36 +0100, Aurelien Jarno wrote: > > T

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-20 Thread Brian M. Carlson
On Mon, 2006-02-20 at 17:37 +0100, Gabor Gombas wrote: > That seems overly complex. You should most certainly know the range of > your own error codes, so something like the below looks much simpler (no > script needed, no dependance on the value of standard error codes): The problem with that is

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-20 Thread Gabor Gombas
On Sun, Feb 19, 2006 at 08:25:34AM +, Brian M. Carlson wrote: > Anyway, my problem is that the fact that these two errors are > the same is causing my code to break very badly. I have a > library that contains its own error codes that will be negative > if casted to an int. Additionally, I w

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Aurelien Jarno
Brian M. Carlson a écrit : # bcc'd to control forwarded 227386 http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 thanks, control, and have a nice day On Sun, 2006-02-19 at 17:36 +0100, Aurelien Jarno wrote: severity 227386 minor thanks I'm not going to play bug tennis with you. I thi

Processed: Re: Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > # bcc'd to control > forwarded 227386 http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3 Noted your statement that Bug has been forwarded to http://sources.redhat.c

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Brian M. Carlson
# bcc'd to control forwarded 227386 http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 thanks, control, and have a nice day On Sun, 2006-02-19 at 17:36 +0100, Aurelien Jarno wrote: > severity 227386 minor > thanks I'm not going to play bug tennis with you. I think the bug should be rated im

Processed: Re: Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > severity 227386 minor Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3 Severity set to `minor'. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (ad

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Aurelien Jarno
severity 227386 minor thanks Brian M. Carlson a écrit : severity 227386 important clone 227386 -1 reassign -1 linux-2.6 retitle -1 linux-2.6: ENOTSUP and EOPNOTSUPP should be different thanks, control, and have a nice day [Copied and pasted from the bug log, because I don't have the original.]

Processed: Re: Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > severity 227386 important Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3 Severity set to `important'. > clone 227386 -1 Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3 Bug 227386 cloned as bug 353516. &g

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2006-02-19 Thread Brian M. Carlson
severity 227386 important clone 227386 -1 reassign -1 linux-2.6 retitle -1 linux-2.6: ENOTSUP and EOPNOTSUPP should be different thanks, control, and have a nice day [Copied and pasted from the bug log, because I don't have the original.] > At Mon, 12 Jan 2004 22:21:39 +, > Brian M. Carlson <

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2004-01-25 Thread GOTO Masanori
At Mon, 12 Jan 2004 22:21:39 +, Brian M. Carlson <[EMAIL PROTECTED]> wrote: > ENOTSUP is the same as EOPNOTSUPP. Because linux kernel does not distinct both, moreover they don't return ENOTSUP. > SUSv3 requires these two values to be > distinct, even though no function uses both of them. The

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2004-01-25 Thread GOTO Masanori
At Mon, 12 Jan 2004 22:21:39 +, Brian M. Carlson <[EMAIL PROTECTED]> wrote: > ENOTSUP is the same as EOPNOTSUPP. Because linux kernel does not distinct both, moreover they don't return ENOTSUP. > SUSv3 requires these two values to be > distinct, even though no function uses both of them. The

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2004-01-13 Thread Brian M. Carlson
Package: libc6-dev Version: 2.3.2.ds1-10 Severity: normal ENOTSUP is the same as EOPNOTSUPP. SUSv3 requires these two values to be distinct, even though no function uses both of them. The obvious solution is for glibc to remap EOPNOTSUPP to the new ENOTSUP code when the error code should be ENOTSU

Bug#227386: libc6-dev: ENOTSUP==EOPNOTSUPP, which violates SUSv3

2004-01-13 Thread Brian M. Carlson
Package: libc6-dev Version: 2.3.2.ds1-10 Severity: normal ENOTSUP is the same as EOPNOTSUPP. SUSv3 requires these two values to be distinct, even though no function uses both of them. The obvious solution is for glibc to remap EOPNOTSUPP to the new ENOTSUP code when the error code should be ENOTSU