diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2010-07-28 09:07:12 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2010-07-28 09:07:12 +0000 |
commit | 71174d720ad3343d8022707c4204f5548c5a67a0 (patch) | |
tree | 687a5cd798285903ca1b1233789e5c17dfe11a0b /usr.bin/rcs/rcsdiff.c | |
parent | d96302d301c0d5562709c6ed3a90bd8bd2ab581f (diff) |
Make BUFs autoextend by default. This was already done in OpenCVS
a while ago.
OK zinovik nicm
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index 1ba7a00678b..d84b4edb31b 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.76 2010/07/23 21:46:05 ray Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.77 2010/07/28 09:07:11 ray Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -316,7 +316,7 @@ rcsdiff_file(RCSFILE *file, RCSNUM *rev, const char *filename, int dflags) tv[0].tv_sec = (long)rcs_rev_getdate(file, rev); tv[1].tv_sec = tv[0].tv_sec; - if ((b2 = buf_load(filename, BUF_AUTOEXT)) == NULL) { + if ((b2 = buf_load(filename)) == NULL) { warnx("failed to load file: `%s'", filename); goto out; } |