This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix opendir


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

Jakub Jelinek wrote:

> readdir/readdir64 assume dirp->data is aligned enough for struct dirent64,
> which on 32-bit NPTL arches is not true.

Applied, thanks.


> Unrelated question: seekdir/telldir work with long int offset instead of
> off_t/off64_t. Shouldn't there be new API like ftello/fseeko
> (seekdiro/telldiro/seekdiro64/telldiro64)?

Theoretically yes.  But I haven't seen any need for this so far.

- -- 
- --------------.                        ,-.            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/TOLp2ijCOnn/RHQRAmpBAJ0drEmGqHUdNk/AtD3SuHaK79hmEQCcDHxy
MZwT60d1OBV3KMPjqO7bFgc=
=DJPf
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]