Re: fork() Problem?

David Miller (davem@twiddle.net)
Tue, 4 May 1999 19:02:39 -0700


You do not initialize the "status" variable passed to wait(), this is
probably why it crashes on SunOS. "status" could contain anything,
any value, and probably it contains garbage or a wild pointer.

Later,
David S. Miller
davem@redhat.com

-
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/