summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/rcs.c4
-rw-r--r--usr.bin/rcs/rcs.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index a341ed5fe30..ff8ef9be8e2 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.283 2009/01/02 00:11:01 canacar Exp $ */
+/* $OpenBSD: rcs.c,v 1.284 2009/02/15 13:40:33 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -401,6 +401,8 @@ rcs_write(RCSFILE *rfp)
fatal("fdopen %s: %s", fn, strerror(saved_errno));
}
+ cvs_worklist_add(fn, &temp_files);
+
if (rfp->rf_head != NULL)
rcsnum_tostr(rfp->rf_head, numbuf, sizeof(numbuf));
else
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index ca97a99f81d..9b5864ffeb3 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.51 2008/11/09 08:51:43 tobias Exp $ */
+/* $OpenBSD: rcs.c,v 1.52 2009/02/15 13:40:33 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -404,6 +404,8 @@ rcs_write(RCSFILE *rfp)
err(1, "%s", fn);
}
+ rcs_worklist_add(fn, &rcs_temp_files);
+
if (rfp->rf_head != NULL)
rcsnum_tostr(rfp->rf_head, numbuf, sizeof(numbuf));
else