(touch_file): Use message instead of printf.
authorRoland McGrath <roland@redhat.com>
Tue, 21 Nov 1995 23:58:54 +0000 (23:58 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 21 Nov 1995 23:58:54 +0000 (23:58 +0000)
remake.c

index 6d1a450..03079dd 100644 (file)
--- 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))