diff options
author | Jay Freeman <saurik@saurik.com> | 2008-08-22 23:29:18 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-08-22 23:29:18 +0000 |
commit | bafd9a4bcafdd06f7a6f61b67a1cb177ab70e4a4 (patch) | |
tree | 4106e3856915e1881c5aee67ab355d17ad545ddc /data/netatalk/dbstat.diff | |
parent | 4d1cc29b6ea7ae1175d8a90ba366f0de3e52e04f (diff) |
Got AFPd totally operational.
git-svn-id: http://svn.telesphoreo.org/trunk@454 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/netatalk/dbstat.diff')
-rw-r--r-- | data/netatalk/dbstat.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/data/netatalk/dbstat.diff b/data/netatalk/dbstat.diff new file mode 100644 index 000000000..15810c687 --- /dev/null +++ b/data/netatalk/dbstat.diff @@ -0,0 +1,24 @@ +diff -ru netatalk-2.0.3/bin/cnid/cnid_index.c netatalk-2.0.3+iPhone/bin/cnid/cnid_index.c +--- netatalk-2.0.3/bin/cnid/cnid_index.c 2005-04-10 12:49:18.000000000 +0000 ++++ netatalk-2.0.3+iPhone/bin/cnid/cnid_index.c 2008-07-11 01:15:39.000000000 +0000 +@@ -274,7 +274,7 @@ + DB_BTREE_STAT *sp; + DB *db = db_table[dbi].db; + +- ret = db->stat(db, &sp, 0); ++ ret = db->stat(db, NULL, &sp, 0); + + if (ret) { + LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); +diff -ru netatalk-2.0.3/etc/cnid_dbd/dbif.c netatalk-2.0.3+iPhone/etc/cnid_dbd/dbif.c +--- netatalk-2.0.3/etc/cnid_dbd/dbif.c 2004-12-21 13:36:12.000000000 +0000 ++++ netatalk-2.0.3+iPhone/etc/cnid_dbd/dbif.c 2008-07-11 01:16:01.000000000 +0000 +@@ -514,7 +514,7 @@ + DB_BTREE_STAT *sp; + DB *db = db_table[dbi].db; + +- ret = db->stat(db, &sp, 0); ++ ret = db->stat(db, NULL, &sp, 0); + + if (ret) { + LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); |