Thread View: news.software.nntp
1 messages
1 total messages
Started by Peter Foster
Sun, 29 Mar 1998 00:00
A Tip on Porting leafnode to Solaris - UIO_MAXIOV & DEF_IOV_MAX.
Author: Peter Foster
Date: Sun, 29 Mar 1998 00:00
Date: Sun, 29 Mar 1998 00:00
36 lines
1589 bytes
1589 bytes
A Tip on Porting leafnode to Solaris - UIO_MAXIOV & DEF_IOV_MAX. Having built the recent version (1.4) of the linux-based program leafnode on Solaris (2.5) I noticed that it was running exceptionally slowly. It transpired that it was scanning all articles in an attempt to build its .overview files, and failing, leaving empty files. Effectively, no .overviews were being built, and the same futile attempt was made each time a group was requested. I found that the problem was the definition UIO_MAXIOV in util.c UIO_MAXIOV is not defined in Solaris, and I had guessed a likely value to complete the build. I guessed wrong. In fact it must be - at least now - 0x10. Fix: #include <sys/stream.h> /* in util.c, and */ #if !defined(UIO_MAXIOV) #define UIO_MAXIOV DEF_IOV_MAX #endif -- Peter Foster fitzrovia london w1 | pF@acefox.com
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