bug in ctype.c, and a replacement for it

Wombat rsk at j.cc.purdue.edu
Sat Oct 25 15:03:50 AEST 1986


In article <725 at qantel.UUCP> lynx at qantel.UUCP (D.N. Lynx Crowe at ex2207) writes:
>The character classification program "ctype.c" recently posted to the net
>has a bug in it:  the headings for the columns are in the wrong order.
>
>I decided that what I wanted was a complete count of all characters, not
>just those below octal 200, so I put together a replacement for it, ccount.c,
>which I've posted to net.sources.

Four things; first off, it is common courtesy to report such bugs in
posted software to the author *first*, thus giving that author the
opportunity to correct them in whatever way the author feels best.
There are exceptions--for instance, truly nasty bugs in important
pieces of software.  This is not one of those cases.

Secondly, you do not specify what the "correct" order would be, or
why the given order is "wrong".

Thirdly, if you had bothered to correspond with the author (me), you
would have discovered that the author had already received a number
of suggestions about the program, one of which was to add the codes
above octal 200 [optionally].

Finally, even though you used nearly all my code in your program, you
make no mention of that in the source.  Fine--you don't *have* to;
but if I wrote a program that whose concept was completely derived from
another, and whose source code was almost completely taken from another,
I'd acknowledge the original author.  I think most folks on Usenet
would do the same.  I'm amazed and appalled at your actions in this matter.

-- 
Rich Kulawiec, j.cc.purdue.edu!rsk, rsk at j.cc.purdue.edu



More information about the Comp.sources.bugs mailing list