=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/co.c,v retrieving revision 1.45 retrieving revision 1.46 diff -c -r1.45 -r1.46 *** src/usr.bin/rcs/co.c 2005/12/09 04:27:01 1.45 --- src/usr.bin/rcs/co.c 2005/12/09 06:59:27 1.46 *************** *** 1,4 **** ! /* $OpenBSD: co.c,v 1.45 2005/12/09 04:27:01 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: co.c,v 1.46 2005/12/09 06:59:27 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. *************** *** 301,308 **** if (verbose == 1) printf(" (locked)"); } else if (flags & CO_UNLOCK) { ! if (rcs_lock_remove(file, lockname, frev) < 0) ! return (-1); mode = 0444; if (verbose == 1) --- 301,310 ---- if (verbose == 1) printf(" (locked)"); } else if (flags & CO_UNLOCK) { ! if (rcs_lock_remove(file, lockname, frev) < 0) { ! if (rcs_errno != RCS_ERR_NOENT) ! return (-1); ! } mode = 0444; if (verbose == 1)