Article View: news.software.nntp
Article #27272A Tip on Porting leafnode to Solaris - UIO_MAXIOV & DEF_IOV_MAX.
From: 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
Technical Details
Message-ID:
<aqbmf6.0g.ln@acefox.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <aqbmf6.0g.ln@acefox.demon.co.uk> Subject: A Tip on Porting leafnode to Solaris - UIO_MAXIOV & DEF_IOV_MAX. Date: Sun, 29 Mar 1998 00:00:00 +0000 From: pf@acefox.com (Peter Foster) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 338910716 Sender: pf@acefox.demon.co.uk Mime-Version: 1.0 X-NNTP-Posting-Host: acefox.demon.co.uk [158.152.97.23] Content-Type: text/plain; charset=us-ascii Organization: Acefox Limited Newsgroups: comp.unix.solaris,news.software.nntp