Re: OFF-Topic glibc behavior

Richard B. Johnson (root@chaos.analogic.com)
Wed, 21 Oct 1998 20:28:51 -0400 (EDT)


On Wed, 21 Oct 1998 grant@torque.net wrote:

> > The following code will write "Hello World!" to the screen on
> > the following platforms:
>
> On the screen or in /tmp/foo ???
>
The problem was originally shown to me, and the text was written by
one who didn't want to be flamed, using 'stdout'. Thinking that 'stdout'
might be special, I opened a file explicitly, finding the same behavior.
I did not change the text.

> Is this the simplest explanation ? Seems to me that the FILE structure
> could contain (directly or indirectly) a self-referential pointer.
> Moving it would certainly break something ...
>
> But what does this have to do with the kernel ?

Read above.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.123 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/