Paul Eggert <[EMAIL PROTECTED]> wrote: > Pádraig Brady <[EMAIL PROTECTED]> writes: > >> Yes I suppose %z and PRIdMAX are C99 specific. > > %z is C99 specific, and should not be relied on, but PRIdMAX is fine, > since the inttypes module backports PRIdMAX to older hosts. > > More generally, there's not that much use for imaxtostr nowadays, > since the inttypes module and newer versions of gettext allow things > like _("truncating %s at %" PRIdMAX " bytes") to work portably. > I suspect that (if someone cares to take the time) we can remove > all instances of imaxtostr and umaxtostr in coreutils and gnulib.
Good point. I've just added your second paragraph to TODO. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils