summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-10-21 18:25:54 +0000
committermillert <millert@openbsd.org>2000-10-21 18:25:54 +0000
commit762178b25751f727a6cc1a3981b4e022b45ee994 (patch)
tree5d04f3e751c4e85561492df5d4633df3d02e2ab6
parent82801BA is DMA, in 3 months there will be lots of these (diff)
downloadwireguard-openbsd-762178b25751f727a6cc1a3981b4e022b45ee994.tar.xz
wireguard-openbsd-762178b25751f727a6cc1a3981b4e022b45ee994.zip
Add missing local change that was lost in a merge.
-rw-r--r--gnu/usr.bin/cvs/src/update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/src/update.c b/gnu/usr.bin/cvs/src/update.c
index 62f54209bc6..17a2e82aed1 100644
--- a/gnu/usr.bin/cvs/src/update.c
+++ b/gnu/usr.bin/cvs/src/update.c
@@ -1652,6 +1652,9 @@ patch_file (finfo, vers_ts, docheckout, file_info, checksum)
vers_ts->options, RUN_TTY,
patch_file_write, (void *) &data);
+ fseek(e, 0L, SEEK_END);
+ file_size = ftell(e);
+
if (fclose (e) < 0)
error (1, errno, "cannot close %s", file2);