pkgsrc-Users archive

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

Re: Change of funopen(3) (was Re: lang/php* broken on NetBSD, patch supplied)



On Thu, Feb 02, 2012 at 03:23:22PM +0900, Takahiro Kambe wrote:
> Please let me know.
> 
> 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)


Use off_t!
The change to seekfn() is to maintain binary compatibility
when fpos_t changed to a structure type.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index