Current-Users archive

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

Re: Change of funopen(3)


In message <>
        on Thu, 2 Feb 2012 22:13:58 +0900,
        Izumi Tsutsui <> wrote:
>> What is the best way to modify (or writing portable) code using
>> funopen(3) to deal with change of its 4th parameter?
>>      fpos_t (*seekfn)(void *, fpos_t, int)
>> v.s.
>>      off_t (*seekfn)(void *, off_t, int)
> The latter as csh.c rev 1.14 does?
It isn't big problem such a code in NetBSD's base system.

The problem is third party's codes which should be compiled on older
NetBSD and current.  How can we recognize older funopen(3) or new

I want to avoid play with autoconf hack.

Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index