]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include <limits.h>, <stdlib.h>, <wchar.h>, <wctype.h>.
authorJim Meyering <jim@meyering.net>
Sat, 29 Jul 2000 06:17:02 +0000 (06:17 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 Jul 2000 06:17:02 +0000 (06:17 +0000)
commit586254e7136793971d5c3e637bc502863bb778ca
treeaa37c334ff803dda6fa049218138abe2f17adba2
parentcbcd5929c1a051df34cb96c4f79403c0be4d3316
Include <limits.h>, <stdlib.h>, <wchar.h>, <wctype.h>.
(quote_name): Use mbrtowc to step through the filename string while
replacing nonprintables with question marks. Return the screen width,
not the strlen length. Do no output if the out stream is NULL.
(length_of_file_name_and_frills): Use the quote_name return value.
src/ls.c