tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BSD/OS support fix



On Sat, Feb 12, 2011 at 05:40:46PM +0900, OBATA Akio wrote:
> 1. missing "type" command in /bin/sh

Don't use /bin/sh in that case. It is useless if it doesn't even support
type.

> 2. missing pread(2) and pwrite(2)
> 
> pread(2) and pwrite(2) is used in pkgtools/libnbcompat/files/db/*/*.c,
> but configure just check that those are broken on HP-UX,
> and internal pread.c/pwrite.c will be used if BROKEN_{PREAD,PWRITE}.

So far no platform missed them. Changing the conditionals to
defined(BROKEN_PREAD) || !defined(HAVE_PREAD) etc is fine.

Joerg


Home | Main Index | Thread Index | Old Index