[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: alphasort on HP-NonStop
From: |
Joachim Schmitz |
Subject: |
RE: alphasort on HP-NonStop |
Date: |
Tue, 28 Dec 2010 17:51:36 +0100 |
Thanks, I'll mention this to them.
Bye, Jojo
-----Original Message-----
From: Paul Eggert [mailto:address@hidden
Sent: Tuesday, December 28, 2010 5:44 PM
To: Joachim Schmitz
Cc: 'Bruno Haible'; address@hidden
Subject: Re: alphasort on HP-NonStop
On 12/28/2010 01:59 AM, Joachim Schmitz wrote:
> I see that gnulib uses strcoll() rather than strcmp(), which seems to be what
> POSIX mandates.
> I'll request a bug fix for these issues from HP NonStop development...
When you do that, you might tell them that there's a possible time bomb there.
(I presume that NonStop developers prefer to avoid time bombs. :-) If strcoll
fails and set errno == EINVAL, then POSIX allows alphasort to return any value
it likes, which means that if NonStop's qsort requires a total ordering, their
scandir cannot call qsort.
They can avoid the problem either by having a strcoll that never fails, or by
having a qsort that does not require a total ordering, or by having a scandir
that does not invoke qsort.
- Re: porting alignof to HP-NonStop, (continued)
- Re: porting alignof to HP-NonStop, Bruno Haible, 2010/12/23
- RE: porting alignof to HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: porting alignof to HP-NonStop, Bruno Haible, 2010/12/24
- Re: alphasort on HP-NonStop, Bruno Haible, 2010/12/23
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/23
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/24
- Re: alphasort on HP-NonStop, Bruno Haible, 2010/12/24
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/24
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/28
- Re: alphasort on HP-NonStop, Paul Eggert, 2010/12/28
- RE: alphasort on HP-NonStop,
Joachim Schmitz <=
- Re: gethostname on HP-NonStop, Bruno Haible, 2010/12/23
- RE: gethostname on HP-NonStop, Joachim Schmitz, 2010/12/23
- RE: gethostname on HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: gethostname on HP-NonStop, Bruno Haible, 2010/12/24
- RE: gethostname on HP-NonStop, Joachim Schmitz, 2010/12/25
- Re: HOST_NAME_MAX on HP-NonStop, Bruno Haible, 2010/12/23
- RE: HOST_NAME_MAX on HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: HOST_NAME_MAX on HP-NonStop, Bruno Haible, 2010/12/24
- RE: HOST_NAME_MAX on HP-NonStop, Joachim Schmitz, 2010/12/25
- Re: HOST_NAME_MAX on HP-NonStop, Bruno Haible, 2010/12/25