summaryrefslogtreecommitdiff
path: root/inputmethod/libtabe/patches/patch-ae
blob: 7fd383d8de989672ec5d2b9df474416946956cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.1 2005/09/28 17:09:43 rillig Exp $

--- src/tabe_tsidbint.c.orig	Sun Nov 11 19:15:46 2001
+++ src/tabe_tsidbint.c	Fri Dec  7 23:13:15 2001
@@ -265,7 +265,11 @@
   switch(tsidb->type) {
   case DB_TYPE_DB:
     dbp = (DB *)tsidb->dbp;
+#ifdef HAVE_DB3_STAT3
+    errno = dbp->stat(dbp, &sp, 0);
+#else
     errno = dbp->stat(dbp, &sp, NULL, 0);
+#endif
     if (!errno) {
 #ifndef HAVE_DB3
       return(sp->bt_nrecs);