Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Show business is just like high school, except you get paid." -- Martin Mull


devel / comp.lang.c / Re: Embedded numbers sorting function (begging post)

SubjectAuthor
* Re: Embedded numbers sorting function (begging post)Bonita Montero
`* Re: Embedded numbers sorting function (begging post)Kaz Kylheku
 `* Re: Embedded numbers sorting function (begging post)Bonita Montero
  `* Re: Embedded numbers sorting function (begging post)Kaz Kylheku
   +* Re: Embedded numbers sorting function (begging post)Bonita Montero
   |+* Re: Embedded numbers sorting function (begging post)Kenny McCormack
   ||+* Re: Embedded numbers sorting function (begging post)Bonita Montero
   |||+- Re: Embedded numbers sorting function (begging post)Kenny McCormack
   |||`* Re: Embedded numbers sorting function (begging post)Kaz Kylheku
   ||| `- Re: Embedded numbers sorting function (begging post)Bonita Montero
   ||`- Re: Embedded numbers sorting function (begging post)Scott Lurndal
   |+* Re: Embedded numbers sorting function (begging post)Malcolm McLean
   ||+- Re: Embedded numbers sorting function (begging post)Bonita Montero
   ||`* Re: Embedded numbers sorting function (begging post)Keith Thompson
   || `- Re: Embedded numbers sorting function (begging post)Bonita Montero
   |+* Re: Embedded numbers sorting function (begging post)Ben Bacarisse
   ||+* Re: Embedded numbers sorting function (begging post)Bonita Montero
   |||`* Re: Embedded numbers sorting function (begging post)Ben Bacarisse
   ||| +* Re: Embedded numbers sorting function (begging post)Bonita Montero
   ||| |`- Re: Embedded numbers sorting function (begging post)Ben Bacarisse
   ||| `- Re: Embedded numbers sorting function (begging post)Lew Pitcher
   ||`* Re: Embedded numbers sorting function (begging post)Bonita Montero
   || `* Re: Embedded numbers sorting function (begging post)Malcolm McLean
   ||  `* Re: Embedded numbers sorting function (begging post)Kaz Kylheku
   ||   +- Re: Embedded numbers sorting function (begging post)Richard Damon
   ||   +- Re: Embedded numbers sorting function (begging post)Keith Thompson
   ||   `- Re: Embedded numbers sorting function (begging post)James Kuyper
   |+* Re: Embedded numbers sorting function (begging post)Kaz Kylheku
   ||`* Re: Embedded numbers sorting function (begging post)Bonita Montero
   || `* Re: Embedded numbers sorting function (begging post)Kenny McCormack
   ||  `- Re: Embedded numbers sorting function (begging post)Scott Lurndal
   |`* Re: Embedded numbers sorting function (begging post)James Kuyper
   | `* Re: Embedded numbers sorting function (begging post)Bonita Montero
   |  `* Re: Embedded numbers sorting function (begging post)Scott Lurndal
   |   +- Re: Embedded numbers sorting function (begging post)Bonita Montero
   |   `- Re: Embedded numbers sorting function (begging post)Bonita Montero
   `* Re: Embedded numbers sorting function (begging post)Bonita Montero
    `* Re: Embedded numbers sorting function (begging post)Bonita Montero
     `- Re: Embedded numbers sorting function (begging post)Bonita Montero

Pages:12
Re: Embedded numbers sorting function (begging post)

<svbd4k$ne4$4@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20571&group=comp.lang.c#20571

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 21:11:01 +0100
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <svbd4k$ne4$4@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <20220225103913.880@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Feb 2022 20:11:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0687686a4bc6cb218a47242c55ee5217";
logging-data="24004"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19e41VRdYF/9qnE4xuuWPkfP15+yzb1Vrc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:vyzXlKINKPo8F2wUyFjihFZTqGg=
In-Reply-To: <20220225103913.880@kylheku.com>
Content-Language: de-DE
 by: Bonita Montero - Fri, 25 Feb 2022 20:11 UTC

> Good, you can read manuals. It takes an int, which ISO C says must
> either represent the value EOF, or else a value in the range of the
> unsigned char type (0 to UCHAR_MAX).

I'm writing C++, not C.

Re: Embedded numbers sorting function (begging post)

<87bkyubsjf.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20573&group=comp.lang.c#20573

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 20:27:48 +0000
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <87bkyubsjf.fsf@bsb.me.uk>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagep$qlr$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="7cff67e7e7feb80c1a54b71705efff31";
logging-data="28419"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2aktUQ8HcPNyxt7jnE8qfY77Soo/nnjQ="
Cancel-Lock: sha1:weX1U1d6nPhDVU1AHWg816LxGHM=
sha1:GoAPJUlRETZzfXHN+RZEPh+/RFU=
X-BSB-Auth: 1.8ff91d10b9e1867c4592.20220225202748GMT.87bkyubsjf.fsf@bsb.me.uk
 by: Ben Bacarisse - Fri, 25 Feb 2022 20:27 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:

> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>
>>> Am 24.02.2022 um 23:46 schrieb Kaz Kylheku:
>>>
>>>> You don't want to pass wide characters or other junk into isdigit!
>>>
>>> isdigit takes an int.
>>>
>>>> Even char is not safe, because it can be signed and exhibit negative
>>>> values that are not EOF.
>>>
>>> As the boundary between signed and and unsigned ints doesn't fall
>>> within >= '0' and <= '9' it isn't a problem that isdgit takes an int.
>>
>> You are missing the point. It's undefined.
>
> There's nothing undefined here. It doesn't matter if the digits I
> handle to isdigit are sign-expanded or not because '0' ... '9'
> falls into the unsigned range.

Again, that's not the point. Your C++ can be instantiated with wchar_t,
whose values may be outside of the range permitted /as arguments/ to any
of these testing functions.

--
Ben.

Re: Embedded numbers sorting function (begging post)

<svbeea$36v$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20574&group=comp.lang.c#20574

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 21:33:15 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <svbeea$36v$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagep$qlr$2@dont-email.me> <87bkyubsjf.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Feb 2022 20:33:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0687686a4bc6cb218a47242c55ee5217";
logging-data="3295"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vfoAoY3AFl5GdDSEXhgFi9ZYZzkP3S/I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:h/V9dQyIbQb5xaLJdVsT+obFnuQ=
In-Reply-To: <87bkyubsjf.fsf@bsb.me.uk>
Content-Language: de-DE
 by: Bonita Montero - Fri, 25 Feb 2022 20:33 UTC

Am 25.02.2022 um 21:27 schrieb Ben Bacarisse:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>
>> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>>
>>>> Am 24.02.2022 um 23:46 schrieb Kaz Kylheku:
>>>>
>>>>> You don't want to pass wide characters or other junk into isdigit!
>>>>
>>>> isdigit takes an int.
>>>>
>>>>> Even char is not safe, because it can be signed and exhibit negative
>>>>> values that are not EOF.
>>>>
>>>> As the boundary between signed and and unsigned ints doesn't fall
>>>> within >= '0' and <= '9' it isn't a problem that isdgit takes an int.
>>>
>>> You are missing the point. It's undefined.
>>
>> There's nothing undefined here. It doesn't matter if the digits I
>> handle to isdigit are sign-expanded or not because '0' ... '9'
>> falls into the unsigned range.
>
> Again, that's not the point. Your C++ can be instantiated with wchar_t,
> whose values may be outside of the range permitted /as arguments/ to any
> of these testing functions.

C++ honors possible table-driven implementations with a small table
for unsigned chars and EOF. But implementing it that way would be
stupid because this would be slower than the two "bound"-checks.
So you can safely assume that there is no implementation that does
it differnently.

Re: Embedded numbers sorting function (begging post)

<svbfhv$1pa$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20575&group=comp.lang.c#20575

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 20:52:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <svbfhv$1pa$3@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagep$qlr$2@dont-email.me> <87bkyubsjf.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Feb 2022 20:52:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="88187c33dbd73ef0f7b2db8d814a67fb";
logging-data="1834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I0ndEmnFv50Ohv076KTYUc0Vue1Cava4="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:X1xlzWik/iBzhAkjmub+6ogq0Z8=
 by: Lew Pitcher - Fri, 25 Feb 2022 20:52 UTC

On Fri, 25 Feb 2022 20:27:48 +0000, Ben Bacarisse wrote:

> Bonita Montero <Bonita.Montero@gmail.com> writes:
>
>> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>>
>>>> Am 24.02.2022 um 23:46 schrieb Kaz Kylheku:
>>>>
>>>>> You don't want to pass wide characters or other junk into isdigit!
>>>>
>>>> isdigit takes an int.
>>>>
>>>>> Even char is not safe, because it can be signed and exhibit negative
>>>>> values that are not EOF.
>>>>
>>>> As the boundary between signed and and unsigned ints doesn't fall
>>>> within >= '0' and <= '9' it isn't a problem that isdgit takes an int.
>>>
>>> You are missing the point. It's undefined.
>>
>> There's nothing undefined here. It doesn't matter if the digits I
>> handle to isdigit are sign-expanded or not because '0' ... '9' falls
>> into the unsigned range.
>
> Again, that's not the point. Your C++ can be instantiated with wchar_t,
> whose values may be outside of the range permitted /as arguments/ to any
> of these testing functions.

In case Bonita doesn't make the connection...

You use isdigit() /because/ you do not know if the argument represents
a digit or not. This means that you (potentially) pass isdigit() an
argument that distinctly does /NOT/ represent a digit. And, some of those
argument may exceed the limitations of isdigit() by having a value that
is neither EOF nor between (int) 0 and (int) UCHAR_MAX.

--
Lew Pitcher
"In Skills, We Trust"

Re: Embedded numbers sorting function (begging post)

<87ee3qod4g.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20576&group=comp.lang.c#20576

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 13:22:23 -0800
Organization: None to speak of
Lines: 27
Message-ID: <87ee3qod4g.fsf@nosuchdomain.example.com>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagga$qlr$3@dont-email.me>
<eb52bd77-66ac-432d-9663-019dbc621e1bn@googlegroups.com>
<20220225110252.132@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="4430882ee1cf9bb3d1ca67a3a8faec21";
logging-data="25003"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DQktpJOujKkx3mPycQeSd"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:++x3hRH/aZJmx3CII0LjqUiZQvA=
sha1:RGCfGnh/C+mc464LwK9EYpNLcEA=
 by: Keith Thompson - Fri, 25 Feb 2022 21:22 UTC

Kaz Kylheku <480-992-1380@kylheku.com> writes:
> On 2022-02-25, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>> On Friday, 25 February 2022 at 12:02:56 UTC, Bonita Montero wrote:
>>> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>>>
>>> > std::use_facet<std::ctype<char>>(std::locale()).is(std::ctype_base::digit, c)
>>> And _digit_-checking needs no locales for sure.
>>>
>> In Arabic, whilst they use Arabic numerals (of course), the glyphs are very
>> different from the ones used in the West.
>
> Is't not clear, however, whether the ISO C isdigit and iswdigit
> functions are allowed to detect those.

It's clear that they're *not* allowed to detect digits other than '0' to '9'.

N1570 7.4p2 does say that the behavior is*() functions is affected by
the current locale, but isdigit() "tests for any decimal-digit character
(as defined in 5.2.1)", and 5.2.1 refers only to the 10 decimal digits.

> The requirement is that they only report true for the ten decimal digits
> of the basic execution character set.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: Embedded numbers sorting function (begging post)

<875yp2bpky.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20577&group=comp.lang.c#20577

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 21:31:41 +0000
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <875yp2bpky.fsf@bsb.me.uk>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagep$qlr$2@dont-email.me> <87bkyubsjf.fsf@bsb.me.uk>
<svbeea$36v$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="7cff67e7e7feb80c1a54b71705efff31";
logging-data="27456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DF6xh3FVyfwDpwDMCjTVAm3lVcQ9mbPY="
Cancel-Lock: sha1:1PEcYuKyxCQvMkfURcfFZ3Zfx4s=
sha1:MFFlX9vE5Mx3yYJeutjxLHL/zvQ=
X-BSB-Auth: 1.d3f3784afb6c4600ca6f.20220225213141GMT.875yp2bpky.fsf@bsb.me.uk
 by: Ben Bacarisse - Fri, 25 Feb 2022 21:31 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:

> Am 25.02.2022 um 21:27 schrieb Ben Bacarisse:
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>
>>> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>>>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>>>
>>>>> Am 24.02.2022 um 23:46 schrieb Kaz Kylheku:
>>>>>
>>>>>> You don't want to pass wide characters or other junk into isdigit!
>>>>>
>>>>> isdigit takes an int.
>>>>>
>>>>>> Even char is not safe, because it can be signed and exhibit negative
>>>>>> values that are not EOF.
>>>>>
>>>>> As the boundary between signed and and unsigned ints doesn't fall
>>>>> within >= '0' and <= '9' it isn't a problem that isdgit takes an int.
>>>>
>>>> You are missing the point. It's undefined.
>>>
>>> There's nothing undefined here. It doesn't matter if the digits I
>>> handle to isdigit are sign-expanded or not because '0' ... '9'
>>> falls into the unsigned range.
>>
>> Again, that's not the point. Your C++ can be instantiated with wchar_t,
>> whose values may be outside of the range permitted /as arguments/ to any
>> of these testing functions.
>
> C++ honors possible table-driven implementations with a small table
> for unsigned chars and EOF. But implementing it that way would be
> stupid because this would be slower than the two "bound"-checks.
> So you can safely assume that there is no implementation that does
> it differnently.

I hope you don't write code that runs in pacemakers, nuclear power
plants or even just in cars.

--
Ben.

Re: Embedded numbers sorting function (begging post)

<svbid2$u44k$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20578&group=comp.lang.c#20578

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 21:40:51 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <svbid2$u44k$1@news.xmission.com>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com> <sv9qfh$kec$1@dont-email.me> <20220225103913.880@kylheku.com> <svbd4k$ne4$4@dont-email.me>
Injection-Date: Fri, 25 Feb 2022 21:40:51 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="987284"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Fri, 25 Feb 2022 21:40 UTC

In article <svbd4k$ne4$4@dont-email.me>,
Bonita Montero <Bonita.Montero@gmail.com> wrote:
>> Good, you can read manuals. It takes an int, which ISO C says must
>> either represent the value EOF, or else a value in the range of the
>> unsigned char type (0 to UCHAR_MAX).
>
>I'm writing C++, not C.
>

And posting to the wrong newsgroup.

Maybe you are using "Google Groups" to post to Usenet, and are suffering
from the limitation of GG that prevents people from posting to
comp.lang.c++ (It truncates the ++ and, erroneously, sends the post to
comp.lang.c).

--
In the corner of the room on the ceiling is a large vampire bat who
is obviously deranged and holding his nose.

Re: Embedded numbers sorting function (begging post)

<zrcSJ.77453$Lbb6.5625@fx45.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20579&group=comp.lang.c#20579

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Embedded numbers sorting function (begging post)
Newsgroups: comp.lang.c
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com> <sv9qfh$kec$1@dont-email.me> <20220225103913.880@kylheku.com> <svbd4k$ne4$4@dont-email.me> <svbid2$u44k$1@news.xmission.com>
Lines: 18
Message-ID: <zrcSJ.77453$Lbb6.5625@fx45.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 25 Feb 2022 22:08:31 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 25 Feb 2022 22:08:31 GMT
X-Received-Bytes: 1528
 by: Scott Lurndal - Fri, 25 Feb 2022 22:08 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
>In article <svbd4k$ne4$4@dont-email.me>,
>Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> Good, you can read manuals. It takes an int, which ISO C says must
>>> either represent the value EOF, or else a value in the range of the
>>> unsigned char type (0 to UCHAR_MAX).
>>
>>I'm writing C++, not C.
>>
>
>And posting to the wrong newsgroup.
>
>Maybe you are using "Google Groups" to post to Usenet, and are suffering
>from the limitation of GG that prevents people from posting to
>comp.lang.c++ (It truncates the ++ and, erroneously, sends the post to
>comp.lang.c).

He's posting from eternal-september, which seems quite apropos.

Re: Embedded numbers sorting function (begging post)

<svdhcb$sq7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20582&group=comp.lang.c#20582

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Fri, 25 Feb 2022 23:34:53 -0500
Organization: A noiseless patient Spider
Lines: 111
Message-ID: <svdhcb$sq7$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Feb 2022 15:35:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f0f58f5bcbf1b4d8a65a71478808a81e";
logging-data="29511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QeliDSCmTK8Eaq1aAExUzJQxzN4u6MG8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:CkldcMPxzmPA6BjdPT0g0hKbtfA=
In-Reply-To: <sv9qfh$kec$1@dont-email.me>
Content-Language: en-US
 by: James Kuyper - Sat, 26 Feb 2022 04:34 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:

> Am 24.02.2022 um 23:46 schrieb Kaz Kylheku:
>
>> You don't want to pass wide characters or other junk into isdigit!
>
> isdigit takes an int.

So? The standard imposes some requirements on the value of the int that
isdigit() in order for that function to have defined behavior. values
smaller than 0 (other than EOF) or larger than UCHAR_MAX are not allowed.

>> Even char is not safe, because it can be signed and exhibit negative
>> values that are not EOF.
>
> As the boundary between signed and and unsigned ints doesn't fall
> within >= '0' and <= '9' it isn't a problem that isdgit takes an int.

"The header <ctype.h> declares several functions useful for classifying
and mapping characters. 214) In all cases the argument is an int , the
value of which shall be representable as an unsigned char or shall equal
the value of the macro EOF . If the argument has any other value, the
behavior is undefined." (7.4p1)

Why shouldn't you be worried about the possibility of your code having
undefined behavior?

On Friday, February 25, 2022 at 3:10:50 PM UTC-5, Bonita Montero wrote:
> My code is C++ and C++ specifies isdigit as a normal function.

I suspect you're referring to
> Names that are defined as functions in C shall be defined as functions in the C ++ standard library. 166
(16.1.5.2p7).

and Footnote 166:
> This disallows the practice, allowed in C, of providing a masking macro in addition to the function prototype. The only
> way to achieve equivalent inline behavior in C ++ is to provide a definition as an extern inline function.

So what? The possibility, allowed in C, of isdigit() being a
function-like macro doesn't play any role in the fact that isdigit(c)
has undefined behavior if c violates the restrictions of 7.4p1.

The ONLY thing the C++ standard says about the behavior of isdigit() is:
> The contents and meaning of the header <cctype> are the same as the C
> standard library header <ctype.h>.
> See also: ISO C 7.4

So the contents of section 7.4 of the C standard are very relevant to
the behavior of isdigit() in C++ code.

On Friday, February 25, 2022 at 3:33:52 PM UTC-5, Bonita Montero wrote:
> C++ honors possible table-driven implementations with a small table
> for unsigned chars and EOF. But implementing it that way would be
> stupid because this would be slower than the two "bound"-checks.
> So you can safely assume that there is no implementation that does
> it differnently.

If that argument were valid, it would apply equally well to C. However,
on my system, at least, in C isdigit() is defined as follows:

/* These are defined in ctype-info.c.
The declarations here must match those in localeinfo.h.

In the thread-specific locale model (see `uselocale' in <locale.h>)
we cannot use global variables for these as was done in the past.
Instead, the following accessor functions return the address of
each variable, which is local to the current thread if multithreaded.

These point into arrays of 384, so they can be indexed by any `unsigned
char' value [0,255]; by EOF (-1); or by any `signed char' value
[-128,-1). ISO C requires that the ctype functions work for `unsigned
char' values and for EOF; we also support negative `signed char' values
for broken old programs. ...
....
*/
# if __BYTE_ORDER == __BIG_ENDIAN
# define _ISbit(bit) (1 << (bit))
# else /* __BYTE_ORDER == __LITTLE_ENDIAN */
# define _ISbit(bit) ((bit) < 8 ? ((1 << (bit)) << 8) : ((1 << (bit))
>> 8))
# endif

51 enum
{ ....
_ISdigit = _ISbit (3), /* Numeric. */
....
};

extern const unsigned short int **__ctype_b_loc (void)
__THROW __attribute__ ((__const__));
....
# define __isctype(c, type) \
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
#elif defined __USE_EXTERN_INLINES
# define __isctype_f(type) \
__extern_inline int \
is##type (int __c) __THROW \
{ \
return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int)
_IS##type; \
}
#endif

# define isdigit(c) __isctype((c), _ISdigit)

Why would they take such an approach if two bound checks were in fact so
much better of an approach?

Re: Embedded numbers sorting function (begging post)

<svdk55$f9h$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20583&group=comp.lang.c#20583

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Sat, 26 Feb 2022 17:23:03 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <svdk55$f9h$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <svdhcb$sq7$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Feb 2022 16:23:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7607c47d6dd2e89bf973584a556b06c1";
logging-data="15665"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18O3SimKFxsbM9Y+2bpWv0YJmb/AxPxw+w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:qfNWolE5wCxISGMnTmfgNzgg8zI=
In-Reply-To: <svdhcb$sq7$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 26 Feb 2022 16:23 UTC

Am 26.02.2022 um 05:34 schrieb James Kuyper:

> So? The standard imposes some requirements on the value of the int that
> isdigit() in order for that function to have defined behavior. values
> smaller than 0 (other than EOF) or larger than UCHAR_MAX are not allowed.

It doesn't matter that isdigit is specified to work only with unsigneds
and EOFs. isdigit uses the simplest implementation one can imagine and
there's no reason to do it differently since a table-driven approach
would be slower.
And there are for sure a lot of people using isdigit for wchars and the
writers of standard libraries honor that and if they would breakd that
silent agreement in your sense a lot of applications wouldn't run.

Rest of your nonsense unread.

Re: Embedded numbers sorting function (begging post)

<gztSJ.92970$i65a.44810@fx16.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20585&group=comp.lang.c#20585

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!peer01.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Embedded numbers sorting function (begging post)
Newsgroups: comp.lang.c
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com> <sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com> <sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com> <sv9qfh$kec$1@dont-email.me> <svdhcb$sq7$1@dont-email.me> <svdk55$f9h$1@dont-email.me>
Lines: 62
Message-ID: <gztSJ.92970$i65a.44810@fx16.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Sat, 26 Feb 2022 17:37:16 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Sat, 26 Feb 2022 17:37:16 GMT
X-Received-Bytes: 3458
 by: Scott Lurndal - Sat, 26 Feb 2022 17:37 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 26.02.2022 um 05:34 schrieb James Kuyper:
>
>> So? The standard imposes some requirements on the value of the int that
>> isdigit() in order for that function to have defined behavior. values
>> smaller than 0 (other than EOF) or larger than UCHAR_MAX are not allowed.
>
>It doesn't matter that isdigit is specified to work only with unsigneds
>and EOFs. isdigit uses the simplest implementation one can imagine and
>there's no reason to do it differently since a table-driven approach
>would be slower.

As usual, you are wrong.

SVR4/Unixware and derivatives:

#define isalpha(c) ((_ctype + 1)[c] & (_U | _L))
#define isupper(c) ((_ctype + 1)[c] & _U)
#define islower(c) ((_ctype + 1)[c] & _L)
#define isdigit(c) ((_ctype + 1)[c] & _N)
#define isxdigit(c) ((_ctype + 1)[c] & _X)
#define isalnum(c) ((_ctype + 1)[c] & (_U | _L | _N))
#define isspace(c) ((_ctype + 1)[c] & _S)
#define ispunct(c) ((_ctype + 1)[c] & _P)
#define isprint(c) ((_ctype + 1)[c] & (_P | _U | _L | _N | _B))
#define isgraph(c) ((_ctype + 1)[c] & (_P | _U | _L | _N))
#define iscntrl(c) ((_ctype + 1)[c] & _C)
#define isascii(c) (!((c) & ~0177))
#define _toupper(c) ((_ctype + 258)[c])
#define _tolower(c) ((_ctype + 258)[c])
#define toascii(c) ((c) & 0177)

Linux:

#ifndef __cplusplus
# define __isctype(c, type) \
((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
#elif defined __USE_EXTERN_INLINES
# define __isctype_f(type) \
__extern_inline int \
is##type (int __c) __THROW \
{ \
return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _IS##type; \
}

# define isalnum(c) __isctype((c), _ISalnum)
# define isalpha(c) __isctype((c), _ISalpha)
# define iscntrl(c) __isctype((c), _IScntrl)
# define isdigit(c) __isctype((c), _ISdigit)
# define islower(c) __isctype((c), _ISlower)
# define isgraph(c) __isctype((c), _ISgraph)
# define isprint(c) __isctype((c), _ISprint)
# define ispunct(c) __isctype((c), _ISpunct)
# define isspace(c) __isctype((c), _ISspace)
# define isupper(c) __isctype((c), _ISupper)
# define isxdigit(c) __isctype((c), _ISxdigit)
# ifdef __USE_ISOC99
# define isblank(c) __isctype((c), _ISblank)
# endif

Re: Embedded numbers sorting function (begging post)

<svdtlu$jqb$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20589&group=comp.lang.c#20589

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Sat, 26 Feb 2022 20:05:36 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <svdtlu$jqb$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <svdhcb$sq7$1@dont-email.me>
<svdk55$f9h$1@dont-email.me> <gztSJ.92970$i65a.44810@fx16.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Feb 2022 19:05:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7607c47d6dd2e89bf973584a556b06c1";
logging-data="20299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qZzcC8kGgnchHni6LOJra5B7x4dGAlZQ="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:lY/z/efb5J5kY0ssPPCiYBJY9eg=
In-Reply-To: <gztSJ.92970$i65a.44810@fx16.iad>
Content-Language: de-DE
 by: Bonita Montero - Sat, 26 Feb 2022 19:05 UTC

Am 26.02.2022 um 18:37 schrieb Scott Lurndal:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>> Am 26.02.2022 um 05:34 schrieb James Kuyper:
>>
>>> So? The standard imposes some requirements on the value of the int that
>>> isdigit() in order for that function to have defined behavior. values
>>> smaller than 0 (other than EOF) or larger than UCHAR_MAX are not allowed.
>>
>> It doesn't matter that isdigit is specified to work only with unsigneds
>> and EOFs. isdigit uses the simplest implementation one can imagine and
>> there's no reason to do it differently since a table-driven approach
>> would be slower.
>
> As usual, you are wrong.
>
> SVR4/Unixware and derivatives: ...

.... is dead.

Re: Embedded numbers sorting function (begging post)

<sve40g$tfr$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20594&group=comp.lang.c#20594

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Sat, 26 Feb 2022 15:53:36 -0500
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <sve40g$tfr$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <87lexzb24j.fsf@bsb.me.uk>
<svagga$qlr$3@dont-email.me>
<eb52bd77-66ac-432d-9663-019dbc621e1bn@googlegroups.com>
<20220225110252.132@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Feb 2022 20:53:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f0f58f5bcbf1b4d8a65a71478808a81e";
logging-data="30203"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qw1x1Gg46pGf+pLrbOQIrxXWGqJ+AYmA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:m2agyKdmqsQAkiXVFJbWxv0BRwY=
In-Reply-To: <20220225110252.132@kylheku.com>
Content-Language: en-US
 by: James Kuyper - Sat, 26 Feb 2022 20:53 UTC

On 2/25/22 14:12, Kaz Kylheku wrote:
> On 2022-02-25, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>> On Friday, 25 February 2022 at 12:02:56 UTC, Bonita Montero wrote:
>>> Am 25.02.2022 um 12:46 schrieb Ben Bacarisse:
>>>
>>>> std::use_facet<std::ctype<char>>(std::locale()).is(std::ctype_base::digit,
>>>> c)
>>> And _digit_-checking needs no locales for sure.
>>>
>> In Arabic, whilst they use Arabic numerals (of course), the glyphs
>> are very
>> different from the ones used in the West.
>
> Is't not clear, however, whether the ISO C isdigit and iswdigit
> functions are allowed to detect those.

ISO C says nothing about glyphs - that's outside the scope of the
standard. All it says is about the encoding, and that's entirely
implementation-defined. An implementation of C must identify ten
character values representing the digits 0-9 for the source character
set, and a possibly different set of ten for the execution character
set. Nothing it says in the C standard prohibits an implementation from
using characters that get displayed with the Arabic glyphs rather than
the western ones. However, it must be consistent on that point - if
different characters display with the western glyphs, those characters
must not compare equal to '0' through '9', and only those characters are
allowed to have isdigit() return a non-zero value.

Re: Embedded numbers sorting function (begging post)

<sve9ic$207$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20595&group=comp.lang.c#20595

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Embedded numbers sorting function (begging post)
Date: Sat, 26 Feb 2022 23:28:29 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <sve9ic$207$1@dont-email.me>
References: <0865bc76-8d80-43c1-af79-87c3faf7c9d9n@googlegroups.com>
<sv8tlj$i1l$1@dont-email.me> <20220224141441.215@kylheku.com>
<sv90fi$5gl$1@dont-email.me> <20220224142724.547@kylheku.com>
<sv9qfh$kec$1@dont-email.me> <svdhcb$sq7$1@dont-email.me>
<svdk55$f9h$1@dont-email.me> <gztSJ.92970$i65a.44810@fx16.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Feb 2022 22:28:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7607c47d6dd2e89bf973584a556b06c1";
logging-data="2055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6xEyXlhIuHxIAFCWnj+lnDwVDV/fldhc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:A+LvotEXJk+HeJqHyURy+NuTYOg=
In-Reply-To: <gztSJ.92970$i65a.44810@fx16.iad>
Content-Language: de-DE
 by: Bonita Montero - Sat, 26 Feb 2022 22:28 UTC

Am 26.02.2022 um 18:37 schrieb Scott Lurndal:
> #ifndef __cplusplus
> # define __isctype(c, type) \
> ((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
> #elif defined __USE_EXTERN_INLINES
> # define __isctype_f(type) \
> __extern_inline int \
> is##type (int __c) __THROW \
> { \
> return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _IS##type; \
> }

#include <cctype>

__attribute((noinline))
int myIsdigit( int ch )
{ return isdigit( ch );
}

g++ 11.0 / libstdc++:

subl $48, %edi
xorl %eax, %eax
cmpl $9, %edi
setbe %al
ret

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor