[PATCH] proposal to display uname/gname instead of uid/gid in tar
Natanael Copa
natanael.copa at gmail.com
Wed Apr 19 16:38:19 UTC 2006
Rich Felker wrote:
> On Wed, Apr 19, 2006 at 04:24:12PM +0200, Natanael Copa wrote:
>> has all their own itoa function.
>>
>> All of those should probably be collected in one single in libbb, but
>> that was not really what I was trying to solve right now.
>
> The C library has an "itoa" function. It's called snprintf.
Its a wrapper to snprintf so you don't need to allocate a buffer (and
make the code more readable?)
But after a second thought, I think you are right. Its better to
allocate another temp buffer and use snprintf.
I'll post another patch later. Need to do other things right now.
--
Natanael Copa
More information about the busybox
mailing list