diff options
Diffstat (limited to 'mcon/U/d_scannl.U')
-rw-r--r-- | mcon/U/d_scannl.U | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/d_scannl.U b/mcon/U/d_scannl.U index 70b0321..74c0a3f 100644 --- a/mcon/U/d_scannl.U +++ b/mcon/U/d_scannl.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_scannl.U,v 3.0.1.2 1997/02/28 15:41:27 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_scannl.U,v $ ?RCS: Revision 3.0.1.2 1997/02/28 15:41:27 ram @@ -45,7 +45,7 @@ val="$define" ?X: to the string given as argument to scanf(). echo 'Let'"'"'s see if scanf() handles "\\n" correctly...' >&4 $cat >try.c <<'EOCP' -main() +int main() { int i = 0, j = 0; scanf("%d\n%d", &i, &j); @@ -54,7 +54,7 @@ main() exit(0); } EOCP -if $cc -o try $ccflags try.c >/dev/null 2>&1; then +if $cc $ccflags -o try try.c >/dev/null 2>&1; then if ./try <<'EOD' 2 3 |