Re: Is this a bug in libc6?
>>"Gregory" == Gregory S Stark <firstname.lastname@example.org> writes:
Gregory> Manoj Srivastava <email@example.com> writes:
>> Definitions of terms
>> ... Permissible undefined behaviour ranges from ignoring the
>> situation completely with unpredictable results, to
>> ... ______________________________________________________________________
>> Please show why my statement is incorrect wrt to the above
>> statement from the C standard. I said: "Corupting memory is not
>> acceptable behaviour! (Unless you document this)". The standard
>> says "permissible undefined behaviour ..."
>> I understand that it is fashionable in comp.lang.c to say that
>> undefined behaviour means "It can corrupt memory, re-format your
>> hard disk, or make monkeys fly out of your nose; all of these are
>> ISO C compliant.", but the standard does make a statement about
>> permissible undefined behaviour, and unless such action is
>> documented, it is not permitted by the standard.
Gregory> Making monkeys fly out of my nose certainly sounds
Gregory> unpredictable to me.
Firstly, read the whole sentence.
Permissible undefined behaviour ranges from ignoring the situation
completely with unpredictable results
ignoring the situation completely with unpredictable results
ignoring the situation completely
ignoring the situation ...
get it? If ignoring a second fclose makes monkeys fly out of
your nose, then fine. You have a strange nose.
Also: the standard says the results should be a characteristic of the
environment. If flying monkies is a characteristic of your nose, I
still say you have a strange nose.
"I ... reject the argument put forth by many fundamentalists that
science has nothing to do with religion because God is not among the
things making up the universe in which we live. Surely if a
necessity for a god-concept in the universe ever turns up, that
necessity will become evident to the scientist." physicist Ralph
Alpher, "Theology of the Big Bang," Religious Humanism, Vol. XVII,
No. 1 (Winter 1983), pg. 12
Manoj Srivastava <firstname.lastname@example.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org