diff options
author | lulf <lulf@FreeBSD.org> | 2008-12-02 20:48:45 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-12-02 20:48:45 +0000 |
commit | 93999cbca678125cbb2cc133b07bc26b3bc7f229 (patch) | |
tree | 467f705a4f18a88c158ceba80d1873bc379ddf8b /contrib | |
parent | 7f6c5eb21eda00b5a27704e4be18ce250fcb3a1f (diff) | |
download | FreeBSD-src-93999cbca678125cbb2cc133b07bc26b3bc7f229.zip FreeBSD-src-93999cbca678125cbb2cc133b07bc26b3bc7f229.tar.gz |
- Fix a bug where deltas was not sorted on RCS dates _and_ revision number.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/csup/rcsfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/rcsfile.c b/contrib/csup/rcsfile.c index 5e19205..267b8b1 100644 --- a/contrib/csup/rcsfile.c +++ b/contrib/csup/rcsfile.c @@ -1207,7 +1207,7 @@ rcsfile_insertdelta(struct branch *b, struct delta *d, int trunk) } else { /* XXX: here we depend on the date being set, but it * should be before this is called anyway. */ - if (rcsnum_cmp(d->revdate, d2->revdate) <= 0) { + if (rcsnum_cmp(d->revdate, d2->revdate) < 0) { LIST_INSERT_BEFORE(d2, d, delta_next); return; } |