projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36dcc6
)
(make_path): Consistently use error to output
author
Jim Meyering
<jim@meyering.net>
Mon, 13 Dec 1999 07:30:57 +0000
(07:30 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 13 Dec 1999 07:30:57 +0000
(07:30 +0000)
the verbose, `created directory ...' messages.
Reported by Bernhard Rosenkraenzer.
lib/makepath.c
patch
|
blob
|
history
diff --git
a/lib/makepath.c
b/lib/makepath.c
index 018b17e567402d68509de4ca6f3a90fc51b31192..bf3528eb4f362809b39cc3b7a2936ff2f1aa5511 100644
(file)
--- a/
lib/makepath.c
+++ b/
lib/makepath.c
@@
-308,7
+308,7
@@
make_path (const char *argpath,
if (newly_created_dir)
{
if (verbose_fmt_string)
-
fprintf (stderr
, verbose_fmt_string, dirpath);
+
error (0, 0
, verbose_fmt_string, dirpath);
if ((owner != (uid_t) -1 || group != (gid_t) -1)
&& chown (basename_dir, owner, group)