summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-10-25 17:27:55 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-10-25 17:27:55 +0000
commit92785b7e5574359792644fc37e6f1ad869ab8b7d (patch)
tree3783d2d5b6bd709c896b61187d26c9f41cdbb2b0 /usr.bin/rcs
parent00adcec2bc130f4c3e96c973098a961196015c71 (diff)
nuke trailing whitespaces;
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/ci.c4
-rw-r--r--usr.bin/rcs/co.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 2e6c767a693..b8de74b1415 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.47 2005/10/19 11:37:11 niallo Exp $ */
+/* $OpenBSD: ci.c,v 1.48 2005/10/25 17:27:54 xsa Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -227,7 +227,7 @@ checkin_main(int argc, char **argv)
*/
if ((!force) && (strlen(deltatext) < 1)) {
rcsnum_tostr(frev, rbuf, sizeof(rbuf));
- cvs_log(LP_WARN,
+ cvs_log(LP_WARN,
"file is unchanged; reverting to previous revision %s",
rbuf);
(void)unlink(argv[i]);
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c
index 66dc1525469..70318229cf8 100644
--- a/usr.bin/rcs/co.c
+++ b/usr.bin/rcs/co.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: co.c,v 1.22 2005/10/20 17:10:01 xsa Exp $ */
+/* $OpenBSD: co.c,v 1.23 2005/10/25 17:27:54 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -118,7 +118,8 @@ checkout_main(int argc, char **argv)
rcsnum_tostr(frev, buf, sizeof(buf));
- if (checkout_rev(file, frev, argv[i], lock, username, fflag) < 0) {
+ if (checkout_rev(file, frev, argv[i], lock,
+ username, fflag) < 0) {
rcs_close(file);
continue;
}
@@ -162,7 +163,7 @@ checkout_rev(RCSFILE *file, RCSNUM *frev, const char *dst, int lkmode,
* Check out the latest revision if <frev> is greater than HEAD
*/
if (rcsnum_cmp(frev, file->rf_head, 0) == -1)
- frev = file->rf_head;
+ frev = file->rf_head;
rcsnum_tostr(frev, buf, sizeof(buf));