Source-Changes-D archive

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

re: CVS commit: src/lib/libc/gen



> Module Name:  src
> Committed By: erh
> Date:         Tue Mar 15 03:47:04 UTC 2011
> 
> Modified Files:
>       src/lib/libc/gen: Makefile.inc
> Added Files:
>       src/lib/libc/gen: commaize_number.3 commaize_number.c
> 
> Log Message:
> PR#7540, add a commaize_number function, which inserts comma into a string
>  of digits to make it more readable.  This is soon to be used in /bin/ls.

was this discussed anywhere?  this API seems suboptimal to me and
almost certainly has locale issues.

also the function name is very ugly.


.mrg.


Home | Main Index | Thread Index | Old Index