=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/backupfile.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/patch/backupfile.c 1999/01/03 05:33:48 1.6 --- src/usr.bin/patch/backupfile.c 1999/12/04 21:00:03 1.7 *************** *** 1,4 **** ! /* $OpenBSD: backupfile.c,v 1.6 1999/01/03 05:33:48 millert Exp $ */ /* backupfile.c -- make Emacs style backup file names Copyright (C) 1990 Free Software Foundation, Inc. --- 1,4 ---- ! /* $OpenBSD: backupfile.c,v 1.7 1999/12/04 21:00:03 provos Exp $ */ /* backupfile.c -- make Emacs style backup file names Copyright (C) 1990 Free Software Foundation, Inc. *************** *** 14,20 **** Some algorithms adapted from GNU Emacs. */ #ifndef lint ! static char rcsid[] = "$OpenBSD: backupfile.c,v 1.6 1999/01/03 05:33:48 millert Exp $"; #endif /* not lint */ #include --- 14,20 ---- Some algorithms adapted from GNU Emacs. */ #ifndef lint ! static char rcsid[] = "$OpenBSD: backupfile.c,v 1.7 1999/12/04 21:00:03 provos Exp $"; #endif /* not lint */ #include *************** *** 195,201 **** char *str1, *str2; { char *newstr; ! char str1_length = strlen (str1); newstr = malloc (str1_length + strlen (str2) + 1); if (newstr == 0) --- 195,201 ---- char *str1, *str2; { char *newstr; ! int str1_length = strlen (str1); newstr = malloc (str1_length + strlen (str2) + 1); if (newstr == 0)