die, gcc, die! if main is called with 2 args, I can very well

use just the first one, grml...
This commit is contained in:
tg 2009-06-10 21:25:39 +00:00
parent ac6bdf61a4
commit be7764778f
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.401 2009/06/08 20:52:28 tg Stab $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.402 2009/06/10 21:25:39 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Thorsten Glaser <tg@mirbsd.org>
@ -1129,7 +1129,7 @@ EOF
ac_test killpg <<-'EOF'
#include <signal.h>
int main(int ac) { return (killpg(123, ac)); }
int main(int ac, char *av[]) { return (av[0][killpg(123, ac)]); }
EOF
ac_test mknod '' 'if to use mknod(), makedev() and friends' <<-'EOF'