perror - (was Re: redirecting output)

Boyd Roberts boyd at necisa.ho.necisa.oz
Sun Jul 8 17:56:32 AEST 1990


In article <1990Jul7.020719.14239 at bhpese.oz.au> Sm at bhpese.oz.au (Scott Merrilees) writes:
>
>I've never come across the need for the *++my_name == '\0' check, has
>anybody else?  Boyd?
>

Well, I haven't seen it, but it can happen.

But, the day someone goes...

    p = "/bin/junk/";

    execl(p, p, ..., (char *)0);

Or:

    $ /bin/junk/ ...

I don't want my messages to say:

    : Could not save "the world".  Not owner

The philosophy of ``it'll never* happen, so don't code for it'' is _wrong_.


Boyd Roberts			boyd at necisa.ho.necisa.oz.au

``When the going gets wierd, the weird turn pro...''

* never  == low probability, but still possible



More information about the Comp.lang.c mailing list