Revised test case (was Re: Who understands this code?)
matthias at winterdrache.de
Sat Mar 15 03:44:21 PST 2003
On Sat, 15 Mar 2003 00:09:10 +0100 Andreas <iobuf at gmx.de> wrote:
> I tried it and it worked as you said. But it is really strange that when
> I add"printf(" ");" somewhere before the two anonmap calls it works even
> with your ld.so.cache.
That is actually not strange. If it is indeed a race condition as detailed
by Donald Smith then I would expect behaviour like this. The additional
printf() changes the timing.
goto doesn't screw up programs.
Programmers screw up programs.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message
More information about the lfs-dev