openbsd-ports/editors/ht/patches/patch-io_posix_htsys_cc

13 lines
417 B
Plaintext
Raw Normal View History

2004-01-04 12:27:48 -05:00
$OpenBSD: patch-io_posix_htsys_cc,v 1.1 2004/01/04 17:27:48 sturm Exp $
--- io/posix/htsys.cc.orig 2004-01-04 17:55:28.000000000 +0100
+++ io/posix/htsys.cc 2004-01-04 17:59:08.000000000 +0100
@@ -209,7 +209,7 @@ int sys_ipc_exec(ht_streamfile **in, ht_
close(in_fds[0]);
close(out_fds[1]);
close(err_fds[1]);
- execl(cmd, cmd, NULL);
+ execl(cmd, cmd, (void *)NULL);
exit(1);
} else return errno;
}