Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 1996 15:44:04 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@freebsd.org, mrcpu@cdsnet.net
Subject:   Re: Maybe bug in fsetpos?
Message-ID:  <199601310444.PAA14046@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>On the BSD/OS list there's mention of a wrong type to the second 
>parameter in the fsetpos function.

>I didn't look at it, but in FreeBSD it's a long, and the BSD/OS patch 

Nope.

>makes it a quad_t or something like that.  

>My question is if the parameter is wrong in freebsd's fsetpos.c...

The second arg to fsetpos() has always had type `const fpos_t *'
(ANSI standard) in FreeBSD.  fpos_t had type long in FreeBSD-1.x.
It has type `long long' in FreeBSD-2.x.  Portable applications
shouldn't notice the difference.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601310444.PAA14046>