(void *)NULL
This commit is contained in:
parent
a70b23a405
commit
5b293eeb3d
12
archivers/gtar/patches/patch-src_buffer_c
Normal file
12
archivers/gtar/patches/patch-src_buffer_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_buffer_c,v 1.1 2003/10/26 17:22:24 sturm Exp $
|
||||
--- src/buffer.c.orig 2003-10-25 16:38:17.000000000 +0200
|
||||
+++ src/buffer.c 2003-10-25 16:38:33.000000000 +0200
|
||||
@@ -1540,7 +1540,7 @@ new_volume (enum access_mode access)
|
||||
child = xfork ();
|
||||
if (child == 0)
|
||||
{
|
||||
- execlp (shell, "-sh", "-i", 0);
|
||||
+ execlp (shell, "-sh", "-i", (void *)NULL);
|
||||
exec_fatal (shell);
|
||||
}
|
||||
else
|
12
archivers/star/patches/patch-librmt_remote_c
Normal file
12
archivers/star/patches/patch-librmt_remote_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-librmt_remote_c,v 1.1 2003/10/26 17:22:24 sturm Exp $
|
||||
--- librmt/remote.c.orig 2003-10-25 16:40:02.000000000 +0200
|
||||
+++ librmt/remote.c 2003-10-25 16:40:19.000000000 +0200
|
||||
@@ -1502,7 +1502,7 @@ _rcmdrsh(ahost, inport, locuser, remuser
|
||||
av0 = rsh;
|
||||
if ((p = strrchr(rsh, '/')) != NULL)
|
||||
av0 = ++p;
|
||||
- execlp(rsh, av0, *ahost, "-l", remuser, cmd, NULL);
|
||||
+ execlp(rsh, av0, *ahost, "-l", remuser, cmd, (void *)NULL);
|
||||
|
||||
rmt_errmsgno(geterrno(), "execlp '%s' failed.\n", rsh);
|
||||
_exit(EX_BAD);
|
Loading…
Reference in New Issue
Block a user