🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Neal Becker Fri, 11 Oct 1996 00:00
PATCH for inn mmap on HPUX9+
#11587
Author: Neal Becker
Date: Fri, 11 Oct 1996 00:00
33 lines
1290 bytes
I have been testing inn-1.5b1 on hpux9.05.  I have a tiny patch for
MMAP.  Using MMAP, it the server seems to be far more responsive
(sorry, no hard data).

1) In config.data choose ACT_STYLE MMAP (optionally add -DMMAP to
   DBZCFLAGS).


2. *** icd.c	1996/10/10 15:20:53	1.1
--- icd.c	1996/10/10 15:25:27
***************
*** 377,383 ****
  ICDwriteactive()
  {
  #if	defined(ACT_MMAP)
!     /* No-op. */
  
  #else
  
--- 377,386 ----
  ICDwriteactive()
  {
  #if	defined(ACT_MMAP)
!   if (msync(ICDactpointer, ICDactsize, MS_ASYNC) < 0) {
!     syslog(L_FATAL, "%s msync failed %s %m", LogName, ICDactpath);
!     exit(1);
!   }
  
  #else
  

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads