mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Fix syntax error in lib_posix_spawn feature test (re: a1f5c992
)
posix_spawn(2) was never used as a result of this error as the test failed to compile, with most systems falling back to vfork(2). src/lib/libast/features/lib: tst lib_posix_spawn: - Fix parentheses goof.
This commit is contained in:
parent
c0567c5e1d
commit
9f199a0290
1 changed files with 3 additions and 3 deletions
|
@ -240,9 +240,9 @@ tst lib_posix_spawn unistd.h stdlib.h spawn.h -Dfork=______fork note{ posix_spaw
|
|||
#include <string.h>
|
||||
/* if it uses fork() why bother? */
|
||||
#undef fork
|
||||
pid_t fork(void)) { NOTE("uses fork()"; return -1; }
|
||||
pid_t _fork(void)) { NOTE("uses _fork()"; return -1; }
|
||||
pid_t __fork(void)) { NOTE("uses __fork()"; return -1; }
|
||||
pid_t fork(void) { NOTE("uses fork()"); return -1; }
|
||||
pid_t _fork(void) { NOTE("uses _fork()"); return -1; }
|
||||
pid_t __fork(void) { NOTE("uses __fork()"); return -1; }
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
|
|
Loading…
Reference in a new issue