* slsignal.c (SLsystem): Replaced NULL with (char *) NULL in

call to execl.

	From patches from the OpenBSD ports collection.
This commit is contained in:
Roland Illig 2004-09-24 14:06:04 +00:00
parent e0f5d6e37f
commit ad1e412fa1
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-09-24 Roland Illig <roland.illig@gmx.de>
* slsignal.c (SLsystem): Replaced NULL with (char *) NULL in
call to execl.
From patches from the OpenBSD ports collection.
2004-09-04 Pavel S. Shirshov <pavelsh@mail.ru>
* sltermin.c (): Avoid strncpy, home_ti is 1K long and

View File

@ -227,7 +227,7 @@ int SLsystem (char *cmd)
(void) sigprocmask (SIG_SETMASK, &save_mask, NULL);
# endif
execl ("/bin/sh", "sh", "-c", cmd, NULL);
execl ("/bin/sh", "sh", "-c", cmd, (char *) NULL);
_exit (127);
}
else