diff options
author | sabetts <sabetts> | 2006-05-24 02:47:57 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-05-24 02:47:57 +0000 |
commit | caf95d546d92f07077f9d121c47bf45ff0807744 (patch) | |
tree | c1cd71edbf2fedb247623fd76a63285303dba463 | |
parent | 4fbb5009496ef087a9c3c96d5bc1c28f23502005 (diff) | |
download | ratpoison-caf95d546d92f07077f9d121c47bf45ff0807744.zip |
* src/actions.c (spawn): pass NULL to execcl
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/actions.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2006-05-23 Shawn Betts <sabetts@vcn.bc.ca> + * src/actions.c (spawn): pass NULL to execcl + * src/xinerama.c (free_xinerama): take void arguments. prototype updated. (init_xinerama): likewise diff --git a/src/actions.c b/src/actions.c index 3674d28..8ace412 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2484,8 +2484,8 @@ spawn(char *cmd, int raw) #endif /* raw means don't run it through sh. */ if (raw) - execl (cmd, 0); - execl("/bin/sh", "sh", "-c", cmd, 0); + execl (cmd, NULL); + execl("/bin/sh", "sh", "-c", cmd, NULL); _exit(EXIT_FAILURE); } |