Date: Fri, 18 Oct 1996 14:25:33 -0600 (MDT) From: Nate Williams <nate@mt.sri.com> To: Guido van Rooij <guido@freefall.freebsd.org> Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/db/hash hash_buf.c Message-ID: <199610182025.OAA04292@rocky.mt.sri.com> In-Reply-To: <199610181956.MAA19725@freefall.freebsd.org> References: <199610181956.MAA19725@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Guido van Rooij writes:
> guido 96/10/18 12:56:53
>
> Modified: lib/libc/db/hash hash_buf.c
> Log:
> Backout bzero patch.
>
> Somehow, I also managed to get quite some other changes in this file at
> the same time. All I did was checkout the file and made a single change.
> If someone has an explanation how these PURIFFY defines got in...
Are you confused with CVS here? The version you modified against was
1.1.12:
revision 1.1.1.2
date: 1996/02/27 01:58:50; author: pst; state: Exp; lines: +18 -10
Import updated Berkeley DB into CSRG branch
And, the diffs you made are: (cut-paste, so white space is screwed up)
nec:/usr/src/lib/libc/db/hash % cvs diff -u -r1.1.1.2 -r1.2 hash_buf.c
Index: hash_buf.c
===================================================================
RCS file: /home/CVS/src/lib/libc/db/hash/hash_buf.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- hash_buf.c 1996/02/27 01:58:50 1.1.1.2
+++ hash_buf.c 1996/10/17 18:26:55 1.2
@@ -331,8 +331,10 @@
}
/* Check if we are freeing stuff */
if (do_free) {
- if (bp->page)
+ if (bp->page) {
+ (void)memset(bp->page, 0, hashp->BSIZE);
free(bp->page);
+ }
BUF_REMOVE(bp);
free(bp);
bp = LRU;
>
> Revision Changes Path
> 1.3 +11 -21 src/lib/libc/db/hash/hash_buf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610182025.OAA04292>
