strace on FC2 with 64 bit lseek

Ulrich Drepper drepper at redhat.com
Tue Oct 19 20:19:55 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maciej Żenczykowski wrote:
> on 32bit x86 the 64bit _llseek seems to be badly parsed by strace.
> 
> lseek64(fd,0x80000000ULL,SEEK_SET);
> 
> results in a strace:
> 
> _llseek(3, 18446744071562067968, [2147483648], SEEK_SET) = 0

Which strace version?  I cannot reproduce this at all here (well, I did
not have a large enough file so my call fails but this doesn't matter
since the first two parameters are printed before the syscall).

Did you compile your code with -W -Wall and fix all problems.  This
might very well be a bug in your code.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBdXbr2ijCOnn/RHQRAh3eAKC/ESDJlPV6Lg34P4sTEWg5J1xjzQCcDFq3
MBhtxH6IBKX307cCcbVwpGg=
=ZnVS
-----END PGP SIGNATURE-----




More information about the fedora-test-list mailing list