diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2009-02-18 20:08:25 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2009-02-18 20:08:25 +0000 |
commit | a1a76e54ba023068265281a7f4f02362b794f1c6 (patch) | |
tree | b8f5b09beeb3fe0495c6df43df02ec4c2d5ba5a1 /usr.bin/cvs | |
parent | c8950135f474f5f07268639d601ec25c9037e14f (diff) |
fix off by one character when constructing $Mdocdate$.
problem found by todd@, ok sthen@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index ff8ef9be8e2..bbe4e8d98ba 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.284 2009/02/15 13:40:33 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.285 2009/02/18 20:08:24 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -3334,7 +3334,7 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines, */ if (strftime(buf, sizeof(buf), (rdp->rd_date.tm_mday < 10) ? - "%B%e %Y " : "%B %e %Y", + "%B%e %Y " : "%B %e %Y ", &rdp->rd_date) == 0) fatal("rcs_kwexp_line: strftime " "failure"); |