[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: truncate.c fails to compile on make distcheck

From: Jim Meyering
Subject: Re: truncate.c fails to compile on make distcheck
Date: Thu, 26 Jun 2008 21:16:27 +0200

Paul Eggert <address@hidden> wrote:

> Pádraig Brady <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]