projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb1fe8
)
fix disastrous bug
author
root
<root>
Fri, 14 Sep 2007 10:15:41 +0000
(10:15 +0000)
committer
root
<root>
Fri, 14 Sep 2007 10:15:41 +0000
(10:15 +0000)
src/init.C
patch
|
blob
|
history
diff --git
a/src/init.C
b/src/init.C
index 0985b5497a1c93a30f2b810ec475e1ad10dbedee..0dcc224c13336629d12e61013035862d754f8718 100644
(file)
--- a/
src/init.C
+++ b/
src/init.C
@@
-1346,7
+1346,7
@@
rxvt_term::run_child (const char *const *argv)
sigprocmask (SIG_SETMASK, &ss, 0);
/* command interpreter path */
- if (argv
!= NULL
)
+ if (argv)
{
# ifdef DEBUG_CMD
int i;
@@
-1376,7
+1376,7
@@
rxvt_term::run_child (const char *const *argv)
argv0 = login;
}
- execlp (shell, argv0,
NULL
);
+ execlp (shell, argv0,
(char *)0
);
/* no error message: STDERR is closed! */
}