pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/db Attempt to apply a bit o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaf1cd7390ae
branches:  trunk
changeset: 558550:aaf1cd7390ae
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu May 07 00:23:45 2009 +0000

description:
Attempt to apply a bit of DWIM to previous (PR 41368).

diffstat:

 pkgtools/libnbcompat/files/db/btree/bt_open.c  |  10 +++++-----
 pkgtools/libnbcompat/files/db/hash/hash_page.c |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r aec40a8499e2 -r aaf1cd7390ae pkgtools/libnbcompat/files/db/btree/bt_open.c
--- a/pkgtools/libnbcompat/files/db/btree/bt_open.c     Wed May 06 21:54:54 2009 +0000
+++ b/pkgtools/libnbcompat/files/db/btree/bt_open.c     Thu May 07 00:23:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt_open.c,v 1.4 2009/05/06 16:57:31 joerg Exp $        */
+/*     $NetBSD: bt_open.c,v 1.5 2009/05/07 00:23:45 schmonz Exp $      */
 /*     NetBSD: bt_open.c,v 1.24 2008/09/11 12:58:00 joerg Exp  */
 
 /*-
@@ -36,7 +36,7 @@
 #include <nbcompat.h>
 #include <nbcompat/cdefs.h>
 
-__RCSID("$NetBSD: bt_open.c,v 1.4 2009/05/06 16:57:31 joerg Exp $");
+__RCSID("$NetBSD: bt_open.c,v 1.5 2009/05/07 00:23:45 schmonz Exp $");
 
 /*
  * Implementation of btree access method for 4.4BSD.
@@ -393,9 +393,9 @@
        int fd;
        char *envtmp;
 #ifdef PATH_MAX
-       char namestr[PATH_MAX];
-#lse
-       char namestr[MAXPATHLEN];
+       char path[PATH_MAX];
+#else
+       char path[MAXPATHLEN];
 #endif
 
 #if HAVE_ISSETUGID
diff -r aec40a8499e2 -r aaf1cd7390ae pkgtools/libnbcompat/files/db/hash/hash_page.c
--- a/pkgtools/libnbcompat/files/db/hash/hash_page.c    Wed May 06 21:54:54 2009 +0000
+++ b/pkgtools/libnbcompat/files/db/hash/hash_page.c    Thu May 07 00:23:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hash_page.c,v 1.4 2009/05/06 16:57:31 joerg Exp $      */
+/*     $NetBSD: hash_page.c,v 1.5 2009/05/07 00:23:45 schmonz Exp $    */
 /*     NetBSD: hash_page.c,v 1.23 2008/09/11 12:58:00 joerg Exp        */
 
 /*-
@@ -36,7 +36,7 @@
 #include <nbcompat.h>
 #include <nbcompat/cdefs.h>
 
-__RCSID("$NetBSD: hash_page.c,v 1.4 2009/05/06 16:57:31 joerg Exp $");
+__RCSID("$NetBSD: hash_page.c,v 1.5 2009/05/07 00:23:45 schmonz Exp $");
 
 /*
  * PACKAGE:  hashing
@@ -867,7 +867,7 @@
        char *envtmp;
 #ifdef PATH_MAX
        char namestr[PATH_MAX];
-#lse
+#else
        char namestr[MAXPATHLEN];
 #endif
 



Home | Main Index | Thread Index | Old Index