Subject: Re: INN
To: Dave Cornejo <dave@dogwood.com>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@HeadCandy.com>
List: current-users
Date: 04/04/1995 10:48:27
>Dave Burgess wrote:
>> I have found that if you just remove all of the lint LINT and llint-*
>> references in the Makefiles it compiles and runs without problems.  One
>> of these days I'm gonna get that lint thing working for sure!

>All you should need to do is set LINTLIBSTYLE in config.data to NONE

Yes, that worked for me, also.

In addition, if you run with mmapped files, you will definitely want
this patch.  I should send it back to the INN guy some time...

--- icd.c.orig  Tue Feb  7 13:36:50 1995
+++ icd.c       Tue Feb  7 14:56:27 1995
@@ -366,7 +366,9 @@
 ICDwriteactive()
 {
 #if    defined(ACT_MMAP)
-    /* No-op. */
+    if (msync(ICDactpointer, 0)) {
+       syslog(L_ERROR, "msync error on active file: %m");
+    }

 #else

-----------------------------------------------------------------------------
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4, PC532,
                           DEC pmax (MIPS R2k/3k), DEC/AXP (Alpha)
     NetBSD ports in progress: VAX and others...
-----------------------------------------------------------------------------