[PATCH] posix-io.c: Use off_t instead of off64_t
Werner Koch
wk at gnupg.org
Fri Dec 23 12:15:59 CET 2022
Hi!
On Thu, 15 Dec 2022 08:55, Khem Raj said:
> struct linux_dirent64
> {
> - ino64_t d_ino;
> - off64_t d_off;
> + ino_t d_ino;
> + off_t d_off;
The getdents(2) man page from 2020-11-01 still says to define it as we
did. Changing this just for non-conforming libc will for sure break
other applications. Please fix musl or provide a way to relible detect
the correct type for an 64 bit inode number within musl.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20221223/bbd37d7e/attachment.sig>
More information about the Gnupg-devel
mailing list