summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-11-21 23:58:54 +0000
committerRoland McGrath <roland@redhat.com>1995-11-21 23:58:54 +0000
commit21fbad8602a8fbaa11772a5fe03b57c974849bb0 (patch)
treeba9cd55b0b630bc4b5727711f0aaff19cafe63b4 /remake.c
parentfa6d6f915004ed0d3ffbb4b5430c870451ef1d29 (diff)
downloadmake-21fbad8602a8fbaa11772a5fe03b57c974849bb0.tar.gz
(touch_file): Use message instead of printf.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 6d1a450..03079dd 100644
--- a/remake.c
+++ b/remake.c
@@ -133,7 +133,7 @@ update_goal_chain (goals, makefiles)
by calling update_file above. We check this flag below to
decide when to give an "up to date" diagnostic. */
g->changed += commands_started - ocommands_started;
-
+
stop = 0;
if (x != 0 || file->updated)
{
@@ -769,10 +769,7 @@ touch_file (file)
register struct file *file;
{
if (!silent_flag)
- {
- printf ("touch %s\n", file->name);
- fflush (stdout);
- }
+ message ("touch %s\n", file->name);
#ifndef NO_ARCHIVES
if (ar_name (file->name))