-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I recently reported a findutils bug (https://savannah.gnu.org/bugs/?func=detailitem&item_id=15472) where an error message on cygwin was truncating ino_t (64 bits) because it was using %ld (32 bits). But James correctly reminded me that C89 does not guarantee (long long) and %lld. Is it time to make a gnulib module that exposes what is currently done in coreutils' src/system.h to provide PRIuMAX and friends on systems that lack them, so that it becomes possible to portably print an ino_t value using:
ino_t ino = ...; printf("inode %" PRIuMAX "\n", (uintmax_t) ino); - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFECiGA84KuGfSFAYARAiioAJ9D8F/aQxbyyo8+tu2mYkTfnu/MAgCdHLl4 ZooZOch9BdcGDc6E5RAHSJU= =wJoR -----END PGP SIGNATURE----- _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib