]> The Tcpdump Group git mirrors - tcpdump/commit
Add support for nommu systems.
authorGuy Harris <[email protected]>
Wed, 1 Dec 2010 00:18:32 +0000 (16:18 -0800)
committerGuy Harris <[email protected]>
Wed, 1 Dec 2010 00:18:32 +0000 (16:18 -0800)
commitd8252d0c05900bcbf9afaf91cae1cd0580bd3aab
tree4a1ef82df8c24519eeeec8e13ef6b17e4169b945
parent316d5087cc80d30a5bd10ba9eebd4634d15a171d
Add support for nommu systems.

Rather than hardcode the WIN32 define, add proper fork checks to the
configure script and check those.  This fixes building for nommu systems
which lack the fork function.

While we're here though, add support for this functionality via vfork
so that it does work on nommu systems.  And fix an old bug where we
exit properly in the forked child when the exec failed instead of just
returning to the calling code (which isn't expecting it).

Reviewed-By: Guy Harris <[email protected]>
config.h.in
configure
configure.in
tcpdump.c