Fix posix_fadvise on powerpc32
Ulrich Drepper
drepper@redhat.com
Mon Aug 25 08:35:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/Scoy2ijCOnn/RHQRAnl6AJ9bKJII1caGWb2IYWExKFCHHL3QhQCgukTg
pL+k80vXowzhQzKnBDfc2nU=
=rZqO
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list