[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RCS 5.7 delete all revs bug
From: |
John Kelly |
Subject: |
RCS 5.7 delete all revs bug |
Date: |
Wed, 1 Jul 2020 21:09:39 +0000 |
This bug is NOT in 5.6 or 5.8.1, only 5.7. But I use
RCS on DOS and don't care about any release after 5.7.
Here's the fix pasted inline, but who knows
about the gmail formatting. I will attach the
diff to try and preserve the tabs.
fix -o1.1: (delete all revs) bug
skip fastcopy() when Head == null
it's extra junk now, and we don't
want it trashing our clean repo
diff -Nru a/rcsedit.c b/rcsedit.c
--- a/rcsedit.c 1995-06-16 06:19:24 +0000
+++ b/rcsedit.c 2020-07-01 20:30:24 +0000
@@ -1882,7 +1882,8 @@
if (changed && !nerror) {
if (finptr) {
- fastcopy(finptr, frewrite);
+ if (Head)
+ fastcopy(finptr, frewrite);
Izclose(&finptr);
}
if (1 < RCSstat.st_nlink)
bugdiff.txt
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RCS 5.7 delete all revs bug,
John Kelly <=