🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7193

Re: can't build INN on HPUX 10.10 (solved)

#7193
From: Rich Salz
Date: Thu, 02 May 1996 00:00
15 lines
1140 bytes
In <4m8000$1d2@host-04.colby.edu> dwcooley@ws-00.colby.edu (David W. Cooley) writes:
>The root of this problem is the fact the HP changed the type of iov_base in the
>stucture iovec (<sys/uio.h>) from caddr_t to void * in HP-UX 10.10.

This is sort-of an INN bug: it shouldn't depend on caddr_t not being
void since you can write portable code to work around this.
Change all lines that look
	foo->iov_base += x;
to look like this:
	foo->iov_base = (char *)foo->iov_base + x;

	/r$

Technical Details
Message-ID: <4maufq$kv@paperboy.osf.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.hpux.mbox.zip!not-for-mail
References: <4lh6e6$l42@spock.dis.cccd.edu> <31800414.7782@spock.dis.cccd.edu> <4m8000$1d2@host-04.colby.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4maufq$kv@paperboy.osf.org>
Subject: Re: can't build INN on HPUX 10.10 (solved)
Date: Thu, 02 May 1996 00:00:00 +0000
From: rsalz@osf.org (Rich Salz)
References: <4lh6e6$l42@spock.dis.cccd.edu> <31800414.7782@spock.dis.cccd.edu> <4m8000$1d2@host-04.colby.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.hpux.mbox.zip!not-for-mail
X-Deja-AN: 152638946
Organization: Open Software Foundation
Newsgroups: comp.sys.hp.hpux,news.software.nntp