diff options
Diffstat (limited to 'mcon/U/d_pidcheck.U')
-rw-r--r-- | mcon/U/d_pidcheck.U | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/d_pidcheck.U b/mcon/U/d_pidcheck.U index ac62132..6744334 100644 --- a/mcon/U/d_pidcheck.U +++ b/mcon/U/d_pidcheck.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_pidcheck.U,v 3.0.1.1 1997/02/28 15:37:55 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: d_pidcheck.U,v $ ?RCS: Revision 3.0.1.1 1997/02/28 15:37:55 ram @@ -42,7 +42,7 @@ echo "We both know your system does not support signal #0 for pid checks." >&4 *) echo "Checking to see if kill(pid, 0) works..." >&4 $cat >try.c <<'EOCP' -main() +int main() { int pid, status0, status9; @@ -56,7 +56,7 @@ main() exit(status0 == status9); } EOCP - if $cc try.c -o try >/dev/null 2>&1 ; then + if $cc -o try try.c >/dev/null 2>&1 ; then if ./try >/dev/null 2>&1 ; then echo "Yes, it does marvels." d_pidcheck="$undef" |