projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add further ioctl time64 fallback conversion for device-specific command
[musl]
/
src
/
process
/
system.c
diff --git
a/src/process/system.c
b/src/process/system.c
index
f5b7b49
..
5af59b8
100644
(file)
--- a/
src/process/system.c
+++ b/
src/process/system.c
@@
-1,11
+1,10
@@
#include <unistd.h>
#include <unistd.h>
-#include <
fcntl
.h>
+#include <
stdlib
.h>
#include <signal.h>
#include <sys/wait.h>
#include <spawn.h>
#include <errno.h>
#include "pthread_impl.h"
#include <signal.h>
#include <sys/wait.h>
#include <spawn.h>
#include <errno.h>
#include "pthread_impl.h"
-#include "libc.h"
extern char **__environ;
extern char **__environ;
@@
-14,7
+13,7
@@
int system(const char *cmd)
pid_t pid;
sigset_t old, reset;
struct sigaction sa = { .sa_handler = SIG_IGN }, oldint, oldquit;
pid_t pid;
sigset_t old, reset;
struct sigaction sa = { .sa_handler = SIG_IGN }, oldint, oldquit;
- int status =
0x7f00
, ret;
+ int status =
-1
, ret;
posix_spawnattr_t attr;
pthread_testcancel();
posix_spawnattr_t attr;
pthread_testcancel();