]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly file.c.~10~
authorRoland McGrath <roland@redhat.com>
Wed, 1 Apr 1992 09:58:26 +0000 (09:58 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 1 Apr 1992 09:58:26 +0000 (09:58 +0000)
file.c

diff --git a/file.c b/file.c
index ea0dae259b76c1763b0d20f5c0579014e87eb8d8..0a5417badba366772fead4f97e2de9a530d21195 100644 (file)
--- a/file.c
+++ b/file.c
@@ -134,6 +134,9 @@ rename_file (file, name)
   register struct file *f;
   struct file *oldfile;
 
+  while (file->renamed != 0)
+    file = file->renamed;
+
   /* Find the hash values of the old and new names.  */
 
   oldhash = 0;