(patch) typo fix in prefix.c:update_path

Mumit Khan khan@nanotech.wisc.edu
Wed Jan 5 17:46:00 GMT 2000


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
 


More information about the Gcc-patches mailing list