cvs commit: src/sys/compat/linprocfs linprocfs.c

Scott Long scottl at samsco.org
Sun Jan 21 20:16:47 UTC 2007


Max Laier wrote:
> On Sunday 21 January 2007 16:47, M. Warner Losh wrote:
>> In message: <20070121131229.014eda2e at Magellan.Leidinger.net>
>>
>>             Alexander Leidinger <netchild at freebsd.org> writes:
>> : I was thinking more about something like:
>> :       to print                         identifier to use in the
>> : kernel sizeof()                         %zd
>> :       int64_t                          xyz
>> :       int32_t                          klm
>> :       ...                              ...
>>
>> The last two aren't possible to print without casts, or the PRI_xxx
>> macros.
> 
> That's right, but I think we can fix it by simply making int64_t an alias 
> for "long long" on all architectures.  I still haven't heard any reason 
> not to just do this - is there something, other than historical?
> 

I'm sure that Bruce can tell you in great detail why this is a good or 
bad idea.


Scott



More information about the cvs-src mailing list