]> 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:19:52 +0000 (16:19 -0800)
commitaee61926e8d2e4f7e52bf53d66970045d921b9f0
tree53808f0e6eae78442ab3032e8c1387682b261720
parentb6e0307d6de65e659ba594253bb4d427c319dd61
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