[Top][All Lists]

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

Re: Preview: portable dumper

From: Paul Eggert
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 14:30:45 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 02/15/2018 02:13 PM, Daniel Colascione wrote:
I'm tempted to just convert INTEGER_TO_CONS to a pair of functions (one signed, one unsigned) that just take an {,u}intmax_t.

Sometimes one does not know whether an integer is signed. For example, the ino_t type is signed on some platforms, and not on others. This is why INTEGER_CONS is written the way it is: it is supposed to do the right thing regardless of the signedness of its argument.

reply via email to

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