=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/co.c,v retrieving revision 1.22 retrieving revision 1.23 diff -c -r1.22 -r1.23 *** src/usr.bin/rcs/co.c 2005/10/20 17:10:01 1.22 --- src/usr.bin/rcs/co.c 2005/10/25 17:27:54 1.23 *************** *** 1,4 **** ! /* $OpenBSD: co.c,v 1.22 2005/10/20 17:10:01 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: co.c,v 1.23 2005/10/25 17:27:54 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. *************** *** 118,124 **** rcsnum_tostr(frev, buf, sizeof(buf)); ! if (checkout_rev(file, frev, argv[i], lock, username, fflag) < 0) { rcs_close(file); continue; } --- 118,125 ---- rcsnum_tostr(frev, buf, sizeof(buf)); ! if (checkout_rev(file, frev, argv[i], lock, ! username, fflag) < 0) { rcs_close(file); continue; } *************** *** 162,168 **** * Check out the latest revision if is greater than HEAD */ if (rcsnum_cmp(frev, file->rf_head, 0) == -1) ! frev = file->rf_head; rcsnum_tostr(frev, buf, sizeof(buf)); --- 163,169 ---- * Check out the latest revision if is greater than HEAD */ if (rcsnum_cmp(frev, file->rf_head, 0) == -1) ! frev = file->rf_head; rcsnum_tostr(frev, buf, sizeof(buf));