🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #280655

Re: Ping Zax / merkinmuffley - mixmaster4096

#280655
From: Zax
Date: Mon, 07 Mar 2016 08:54
56 lines
2942 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, 6 Mar 2016 22:24:38 +0100, Anonymous wrote in
Message-Id: <810fdeeddff6227e5498f36d5899de1f@hoi-polloi.org>:

> Yes, I see now.  That is where my lack of knowledge of C gets me.  I
> thought that strileft was a C instruction, not a function.  I see that
> the tolower is in there, sure enough.  It did seem completely logical
> that the do/while loop was missing the expired line.
>
>   I am wondering the function does?
>
> int strileft(const char *string, const char *keyword)
> {
>   register unsigned int i;
>
>   for (i = 0; keyword[i] != '\0'; i++)
>     if (tolower(string[i]) != tolower(keyword[i]))
>       return 0;
>   return 1;
> }
>
>   Is it scanning or walking across 'string' looking for
> 'keyword'?
Yes, it scans the string, one character at a time and tests each one
matches the corresponding keyword character.  The \0 is used to indicate
the string terminator.

> Nevertheless, I guess I need to stick with what I know best, mainframe
> assembler and cobol.
Please stick with it, the more people who take the trouble to scan code,
the better our chances of finding bugs and ways to improve it.  :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW3UG3AAoJEC3jHKG+PvqnC6EP/2w3U2L/JioaLK6+TLqk7sqW
bOPKeXbcdFfZCVW+rUkmFpsxun3lXZk5eopdWAsHSV2TqDZKxEbtg9L1ucgeypaO
cO73e73Avn2pBVHCo79a/M0hqOAPSJk1UHthi0uljga4QG2uIiwaOjFS2CnXxAql
NkKugYvwK3aNde+vqjFjDvKexbIJfJeIyI1NCCiKdODuO8bvuOTI1N99igp4+iOF
7O6022410lnFhrFhyAiqy511J29acoITmrIdbP0T2aimQ4UkpyNTpcDvzugKZqoi
QKQ5h6dI03Q6oJfO3WPd495SgfUaJIDTElewAWqUTZRWceJ0laxuWo317NN+HXLe
OmR999L7OUxxLubeHjIfVgRNAkeIa1Vo/ySNwrd8uGGLkLhRCPyeFwhaNz8JOPIs
VlgBioiRIcvPMJ8rJA3LAVL5V5zmjzm/wCVJghTddyEVIjLY/9Zs5qjFaxU8IB6x
uMeqY+uNA3qsEkz2f4I8Y59F9xAh9/N5mauGqQIYDvrg0GOVXOeNVrom8p95qL6y
Iqco681AkXPpb+OB1ppqRvxOPGJr4BkVh26sRT8idAZ3QgqV+qI7gCI+8AdojDPN
hQt718LZmNeHDILlxnp6/IbVAqoLLZa0VpjnpbLYXiwx0aayPBJDwg929sjLadMb
WbquUktDndvpONYIY/pB
=gd1q
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
sub  4096R/BE3EFAA7  created: 2014-11-14  expires: 2016-11-13  usage: S
Technical Details
Message-ID: <slrnndqgdn.qfp.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <slrnndp08b.qfp.admin@fleegle.mixmin.net> <810fdeeddff6227e5498f36d5899de1f@hoi-polloi.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnndqgdn.qfp.admin@fleegle.mixmin.net>
Subject: Re: Ping Zax / merkinmuffley - mixmaster4096
Date: Mon, 07 Mar 2016 08:54:15 +0000
From: Zax <admin@mixmin.net>
References: <slrnndp08b.qfp.admin@fleegle.mixmin.net> <810fdeeddff6227e5498f36d5899de1f@hoi-polloi.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
User-Agent: slrn/pre1.0.3-6 (Linux)
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Mon, 7 Mar 2016 08:54:15 -0000 (UTC)
X-Received-Bytes: 3089