nmh-workers
[Top] [All Lists]

a patch for berkeley db.

1995-03-06 12:32:48

hi,

slocal wasn't keeping a message-id database, so i fixed it.  the
define it checks might want to be changed to something specific
for the new berkeley db system, but BSD44 seems the best that is
currently available.

*** slocal.c.orig       Wed Dec  1 15:01:38 1993
--- slocal.c    Mon Mar  6 21:31:44 1995
***************
*** 379,385 ****
--- 379,389 ----
  #ifdef        MSGID
      struct stat st;

+ #ifdef BSD44
+     if (stat (".maildelivery.db", &st) != NOTOK
+ #else
      if (stat (".maildelivery.pag", &st) != NOTOK
+ #endif
            && check_msgid (fd, ".maildelivery") == DONE)
        return OK;
  #endif


some time ago (june last year) i posted patches to make mh 6.8.3
build shared libraries under netbsd, plus a few more fixes that
i had needed to get it to work under then netbsd-current (something
like 4.4BSD-lite).  i never actually hear back that these had been
integrated; i assumed they got lost somewhere and found again.  the
latest problem prompted me to probe about them again.  i can resend
them if nessicary.

.mrg.


<Prev in Thread] Current Thread [Next in Thread>
  • a patch for berkeley db., matthew green <=