Fix posix_fadvise on powerpc32
Andreas Jaeger
aj@suse.de
Mon Aug 25 10:02:00 GMT 2003
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger wrote:
>
>> int ret = INTERNAL_SYSCALL (fadvise64, err, 5, fd,
>> - __LONG_LONG_PAIR (offset >> 31, offset), len,
>> + __LONG_LONG_PAIR ((long)offset >> 31, (long)offset), len,
>
> Why should this be necessary in posix_fadvise()? offset is of type off_t.
Just for completeness...
Ok to commit only the 64-bit file?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20030825/18f68a03/attachment.sig>
More information about the Libc-hacker
mailing list