openbsd-ports/audio/lopster/patches/patch-src_exec_c
margarida cc94fb6c1d Update to version 1.2.0
- Add no_ogg FLAVOR;
- Stability fixes.

From MAINTAINER: Jolan Luff <jolan@cryptonomicon.org>
2003-04-05 22:19:35 +00:00

13 lines
425 B
Plaintext

$OpenBSD: patch-src_exec_c,v 1.2 2003/04/05 22:19:35 margarida Exp $
--- src/exec.c.orig Tue Mar 4 14:08:56 2003
+++ src/exec.c Wed Mar 5 16:41:48 2003
@@ -405,7 +405,7 @@ static int exec_fire_up(exec_t* exec) {
for (i = 3; i < 1024; i++)
close(i);
- execl("/bin/sh", "sh", "-c", exec->command, 0);
+ execl("/bin/sh", "sh", "-c", exec->command, (void *)NULL);
_exit(-1);
default:
// parent