BSD 4_4_Lite2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 1 Nov 1994 15:32:34 +0000 (07:32 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 1 Nov 1994 15:32:34 +0000 (07:32 -0800)
Work on file usr/src/contrib/nvi.1.43/PORT/isc.3/local/PATCH.hash.c

Synthesized-from: CSRG/cd3/4.4BSD-Lite2

usr/src/contrib/nvi.1.43/PORT/isc.3/local/PATCH.hash.c [new file with mode: 0644]

diff --git a/usr/src/contrib/nvi.1.43/PORT/isc.3/local/PATCH.hash.c b/usr/src/contrib/nvi.1.43/PORT/isc.3/local/PATCH.hash.c
new file mode 100644 (file)
index 0000000..f973ca3
--- /dev/null
@@ -0,0 +1,16 @@
+*** PORT/db/hash/hash.c.orig   Sat Jun 25 01:12:29 1994
+--- PORT/db/hash/hash.c        Wed Nov  2 16:51:38 1994
+***************
+*** 301,307 ****
+--- 301,311 ----
+       if (file != NULL) {
+               if (stat(file, &statbuf))
+                       return (NULL);
++ #ifdef STBLKSIZE_NOT_AVAILABLE
++              hashp->BSIZE = 512;
++ #else
+               hashp->BSIZE = statbuf.st_blksize;
++ #endif
+               hashp->BSHIFT = __log2(hashp->BSIZE);
+       }
+