One more off_t bug in libio
Jeffrey A Law
law@cygnus.com
Thu Feb 12 23:57:00 GMT 1998
In message < Pine.LNX.3.96.980209195359.32511A-100000@bartlet.df.lth.se >you write
> NetBSD-sparc has sizeof(off_t) > sizeof(int), so we must include
> unistd.h to get the intended behaivour when using lseek(2).
>
> /Krister
>
>
> (The following patch is made relative to the 980205 snapshot.)
>
>
> Sun Feb 8 20:58:42 1998 Krister Walfridsson (cato@df.lth.se)
>
> * fileops.c: #include <unistd.h>.
> * ioprims.c: Likewise.
Thanks. Installed.
jeff
More information about the Gcc-bugs
mailing list