]> git.ipfire.org Git - thirdparty/coreutils.git/commit
* src/ls.c (quote_name): Use initializer rather than memset to
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Oct 2006 22:57:07 +0000 (22:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Oct 2006 22:57:07 +0000 (22:57 +0000)
commite245a66054cac00f2916fbc9436d926ea2cf4d1c
treeb36a56e3bede31be2c78a76e0bfe7db73670587a
parent489ff7f0cdaa63403aefcce778ea7214dc4e6808
* src/ls.c (quote_name): Use initializer rather than memset to
initialize an object to zero.  This is easier to read and is less
likely to introduce an runtime error due to a mixup.  It causes
gcc -W to issue a warning, but you can work around this by
appending -Wno-missing-field-initializers.
* src/pathchk.c (portable_chars_only): Likewise.
* src/shred.c (main): Likewise.
* src/stty.c (main): Likewise.
* src/tr.c (card_of_complement): Likewise.
* src/wc.c (wc): Likewise.
ChangeLog
src/ls.c
src/pathchk.c
src/shred.c
src/stty.c
src/tr.c
src/wc.c