[HACK] Re: Who understands this code?
dss-lfs at cfl.rr.com
Sat Mar 15 14:54:41 PST 2003
Greg Schafer wrote:
> Again I make the request, Don can you (or anyone else for that matter) cook
> up a patch to fix that test properly?
> It's just awkward and messy to apply the hack on the "when applicable"
//okay put this after the char *x,...
//then before the if (y != x + pg):
for (i = 0; i < 8; i++) /* limit to 8 tries */
if (y != x + pg)
x = y;
y = anonmap(pg);
if (y == (char *)MAP_FAILED)
perror_exit ("test 3 mmap 3", 15);
break; /* got one */
// this code is untested! don't even know if it compiles. I think break
is the correct instruction to use.
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