]> git.saurik.com Git - apple/libc.git/blobdiff - db/hash/FreeBSD/ndbm.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / db / hash / FreeBSD / ndbm.c.patch
index 42d88efe2463406cb168d3e38badc5c231b7cf82..6292cd609871ae53554f35876777d61d290d3c83 100644 (file)
@@ -1,6 +1,6 @@
---- ndbm.c.org 2006-09-08 18:47:42.000000000 -0700
-+++ ndbm.c     2006-09-08 18:48:03.000000000 -0700
-@@ -51,6 +51,9 @@
+--- ndbm.c.orig        2009-11-06 12:41:16.000000000 -0800
++++ ndbm.c     2009-11-06 12:41:27.000000000 -0800
+@@ -47,6 +47,9 @@ __FBSDID("$FreeBSD: src/lib/libc/db/hash
  #include <string.h>
  #include <errno.h>
  
@@ -10,7 +10,7 @@
  #include <ndbm.h>
  #include "hash.h"
  
-@@ -62,7 +65,8 @@
+@@ -58,7 +61,8 @@ __FBSDID("$FreeBSD: src/lib/libc/db/hash
  extern DBM *
  dbm_open(file, flags, mode)
        const char *file;
@@ -20,7 +20,7 @@
  {
        HASHINFO info;
        char path[MAXPATHLEN];
-@@ -128,10 +132,14 @@
+@@ -124,10 +128,14 @@ dbm_firstkey(db)
        int status;
        datum retkey;
        DBT dbtretkey, dbtretdata;
@@ -36,7 +36,7 @@
        retkey.dptr = dbtretkey.data;
        retkey.dsize = dbtretkey.size;
        return (retkey);
-@@ -146,13 +154,20 @@
+@@ -142,13 +150,20 @@ extern datum
  dbm_nextkey(db)
        DBM *db;
  {