install, rmdir: write --verbose output to stdout, not to stderr.
authorOndřej Vašík <ovasik@redhat.com>
Mon, 10 Mar 2008 16:03:41 +0000 (17:03 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 10 Mar 2008 18:47:15 +0000 (19:47 +0100)
commit9c393fa1944e5decb2838de7cbcf6b371717fd77
tree2231be9b72506005a058543193e659120bb121c6
parent3c7a6ae340feee50ed6368ff9224aa3a29fff97e
install, rmdir: write --verbose output to stdout, not to stderr.

* src/install.c (announce_mkdir): Write verbose output to stdout,
not to stderr.
* src/mkdir.c (announce mkdir): Use prog_fprintf for verbose output.
* src/prog-fprintf.c (prog_fprintf): New function and file.
* src/prog-fprintf.h: New file.
* src/rmdir.c (main): Write verbose output to stdout, not to stderr.
Quote directory name in a diagnostic.
* src/rmdir.c (remove_parents): Write verbose output to stdout,
not to stderr.
* doc/coreutils.texi: Mention that shred verbose output is to stderr.
* NEWS: Mention the changes.

Signed-off-by: Ondřej Vašík <ovasik@redhat.com>
NEWS
doc/coreutils.texi
src/Makefile.am
src/install.c
src/mkdir.c
src/prog-fprintf.c [new file with mode: 0644]
src/prog-fprintf.h [new file with mode: 0644]
src/rmdir.c