]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(print_it): Use xstrdup, not strdup.
authorJim Meyering <jim@meyering.net>
Sat, 13 Jul 2002 08:05:04 +0000 (08:05 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 Jul 2002 08:05:04 +0000 (08:05 +0000)
commite5ee2e3aee2953d7fbb06b90547384636a2bfaca
tree3f7e9aeda43a0582d973b39b1a0b7841c29b9b82
parent902453fc3520197eee4109956dfd9e43d5fe4131
(print_it): Use xstrdup, not strdup.
Use strspn to avoid an explicit loop.
Use fputc rather than printf "\n".

Include quote.h.
(print_stat): Use xreadlink, rather than using readlink directly.
Use the quote function rather than hard-coded double quotes.
Use error, not perror.
src/stat.c