diff options
author | 2008-06-12 07:16:14 +0000 | |
---|---|---|
committer | 2008-06-12 07:16:14 +0000 | |
commit | 1b5598b0a90de485ec9ab0224ee50b4ff9a09a17 (patch) | |
tree | a5eb3f4974936ae4cdaea06a3c8387066192a1c9 /usr.bin/cvs/rcs.c | |
parent | Bring biomem diff back into the tree after the nfs_bio.c fix went in. (diff) | |
download | wireguard-openbsd-1b5598b0a90de485ec9ab0224ee50b4ff9a09a17.tar.xz wireguard-openbsd-1b5598b0a90de485ec9ab0224ee50b4ff9a09a17.zip |
completely kill the need for TMP_DIR when running checkout,
which gives us better performance among other things.
this is however disabled in a few cases:
1) whenever you run checkout over an existing tree (which acts as update)
2) whenever you specify -d or a module alias
we're planning on enabling this behaviour for case 2 in the future.
anoncvs sysadmins now love us even more.
ok tobias@
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-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 0fcc3b4ddc4..62da76238c9 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.269 2008/06/10 20:30:17 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.270 2008/06/12 07:16:14 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -2986,7 +2986,7 @@ rcs_rev_getbuf(RCSFILE *rfp, RCSNUM *rev, int mode) expand = 0; lines = rcs_rev_getlines(rfp, rev, NULL); - bp = cvs_buf_alloc(1024); + bp = cvs_buf_alloc(1024 * 1024); if (!(mode & RCS_KWEXP_NONE)) { if (rfp->rf_expand != NULL) |