[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] 1.13.25: minor fix
From: |
Christian Weisgerber |
Subject: |
[Bug-tar] 1.13.25: minor fix |
Date: |
Sun, 26 Oct 2003 22:10:03 +0100 |
User-agent: |
Mutt/1.4.1i |
Originally from Nikolay Sturm <address@hidden>.
* NULL is frequently defined as 0.
* On 64-bit archs, (int)0 has a different size than (void *)0.
* The compiler can't cast variable arguments to the proper type.
--- 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
--
Christian "naddy" Weisgerber address@hidden
- [Bug-tar] 1.13.25: minor fix,
Christian Weisgerber <=