summaryrefslogtreecommitdiffstats
path: root/contrib/csup/rcsfile.c
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2008-11-19 14:57:00 +0000
committerlulf <lulf@FreeBSD.org>2008-11-19 14:57:00 +0000
commitb389e1bc700b4a28122ab88274772ce7759c10ac (patch)
tree0b21b52c8165dcd04fd5efcec776a74544e6b15c /contrib/csup/rcsfile.c
parent49d71b658410e80cf74bbb9e9eff44726c3ff914 (diff)
downloadFreeBSD-src-b389e1bc700b4a28122ab88274772ce7759c10ac.zip
FreeBSD-src-b389e1bc700b4a28122ab88274772ce7759c10ac.tar.gz
A few general bugfixes:
- Use internal xmalloc instead of malloc. - Include missing header after warnings. - Fix unneeded printouts. - Fix a bug when checking the CO_NORSYNC flag.
Diffstat (limited to 'contrib/csup/rcsfile.c')
-rw-r--r--contrib/csup/rcsfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/rcsfile.c b/contrib/csup/rcsfile.c
index 37eba83..9a715d6 100644
--- a/contrib/csup/rcsfile.c
+++ b/contrib/csup/rcsfile.c
@@ -708,7 +708,6 @@ rcsfile_print(struct rcsfile *rf)
line = stream_getln(in, NULL);
}
stream_close(in);
- printf("branches: ");
printf("\n");
}
@@ -761,6 +760,7 @@ rcsfile_free(struct rcsfile *rf)
/* Free all deltas in global list */
while (!LIST_EMPTY(&rf->deltatable)) {
d = LIST_FIRST(&rf->deltatable);
+ LIST_REMOVE(d, delta_next);
LIST_REMOVE(d, table_next);
rcsfile_freedelta(d);
}
OpenPOWER on IntegriCloud