summaryrefslogtreecommitdiff
path: root/mcon/U/d_safebcpy.U
diff options
context:
space:
mode:
Diffstat (limited to 'mcon/U/d_safebcpy.U')
-rw-r--r--mcon/U/d_safebcpy.U12
1 files changed, 6 insertions, 6 deletions
diff --git a/mcon/U/d_safebcpy.U b/mcon/U/d_safebcpy.U
index 2c1b700..f30aff7 100644
--- a/mcon/U/d_safebcpy.U
+++ b/mcon/U/d_safebcpy.U
@@ -1,12 +1,12 @@
-?RCS: $Id: d_safebcpy.U,v 3.0.1.4 1997/02/28 15:40:58 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_safebcpy.U,v $
?RCS: Revision 3.0.1.4 1997/02/28 15:40:58 ram
@@ -72,7 +72,7 @@ EOCP
#ifdef I_UNISTD
# include <unistd.h> /* Needed for NetBSD */
#endif
-main()
+int main()
{
char buf[128], abc[128];
char *b;
@@ -99,8 +99,8 @@ for (align = 7; align >= 0; align--) {
exit(0);
}
EOCP
- if $cc $optimize $ccflags $ldflags foo.c \
- -o safebcpy $libs >/dev/null 2>&1; then
+ if $cc $optimize $ccflags $ldflags \
+ -o safebcpy foo.c $libs >/dev/null 2>&1; then
if ./safebcpy 2>/dev/null; then
echo "Yes, it can."
val="$define"