=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/rcsprog.c,v retrieving revision 1.56 retrieving revision 1.57 diff -c -r1.56 -r1.57 *** src/usr.bin/rcs/rcsprog.c 2005/12/24 03:48:09 1.56 --- src/usr.bin/rcs/rcsprog.c 2005/12/24 16:37:46 1.57 *************** *** 1,4 **** ! /* $OpenBSD: rcsprog.c,v 1.56 2005/12/24 03:48:09 joris Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: rcsprog.c,v 1.57 2005/12/24 16:37:46 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. *************** *** 284,290 **** } else { len1 = strlcpy(fpath, filev, sizeof(fpath)); if (len1 >= sizeof(fpath)) ! fatal("path truncation in rcs_statfile"); } if ((stat(fpath, &st) != -1) || (rcsflags & RCS_CREATE)) { --- 284,290 ---- } else { len1 = strlcpy(fpath, filev, sizeof(fpath)); if (len1 >= sizeof(fpath)) ! fatal("rcs_statfile: path truncation"); } if ((stat(fpath, &st) != -1) || (rcsflags & RCS_CREATE)) { *************** *** 308,314 **** len1 = strlcpy(out, fpath, len); if (len1 >= len) ! fatal("path truncation in rcs_statfile"); return (0); } --- 308,314 ---- len1 = strlcpy(out, fpath, len); if (len1 >= len) ! fatal("rcs_statfile: path truncation"); return (0); }