diff options
author | gallatin <gallatin@FreeBSD.org> | 1999-08-27 14:47:23 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 1999-08-27 14:47:23 +0000 |
commit | ffd6399600ecf9973a8a8202ef1d2c969dfb7c42 (patch) | |
tree | f46f29d67777422e04729c58f93a593f434d024c /lib/libc/stdio/asprintf.c | |
parent | a1c1e7ab1acb9391452e3aa983d7bc436400b359 (diff) | |
download | FreeBSD-src-ffd6399600ecf9973a8a8202ef1d2c969dfb7c42.zip FreeBSD-src-ffd6399600ecf9973a8a8202ef1d2c969dfb7c42.tar.gz |
Fix the child's return path from fork so that fork will return 0
in the child. This corrects a problem where linux/alpha binaries see
the child's return value of fork as the parent's pid. This happens because
linux/alpha binaries apparently check the return value directly, rather
than looking for a non-zero value in a4, as *BSD & OSF/1 do.
Reviewed by:dfr@nlsystems.com
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
0 files changed, 0 insertions, 0 deletions