mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
cleanup: remove legacy code for systems without fork(2)
In 2021, it seems like it's about time to join the 21st century and officially require fork(2). In practice this was already the case as the legacy code was unmaintained and didn't compile.
This commit is contained in:
parent
38f2b94f55
commit
7b0e0776e2
7 changed files with 7 additions and 269 deletions
|
|
@ -31,16 +31,6 @@ tst note{ determining extra bytes per argument for arguments list }end output{
|
|||
/* Standard includes */
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef _lib_fork
|
||||
#error requires fork(2)
|
||||
#endif
|
||||
#ifndef _lib_execve
|
||||
#error requires execve(2)
|
||||
#endif
|
||||
#ifndef _lib_waitpid
|
||||
#error requires waitpid(2)
|
||||
#endif
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
int extra_bytes = 0, envlen, argmax, i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue