This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(patch) typo fix in prefix.c:update_path


Fixes a typo in Nick's last change to update_path ().

2000-01-05  Mumit Khan  <khan@xraylith.wisc.edu>

	* prefix.c (update_path): Fix typo in variable name.

Index: prefix.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/prefix.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 prefix.c
--- prefix.c	1999/10/26 05:54:13	1.19
+++ prefix.c	2000/01/06 01:44:24
@@ -330,7 +330,7 @@ update_path (path, key)
       do {
 	if (*new_path == '/')
 	  *new_path = DIR_SEPARATOR;
-      } while (*newpath++);
+      } while (*new_path++);
     }
 #endif
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]