This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(patch) typo fix in prefix.c:update_path
- To: gcc-patches at gcc dot gnu dot org
- Subject: (patch) typo fix in prefix.c:update_path
- From: Mumit Khan <khan at nanotech dot wisc dot edu>
- Date: Wed, 05 Jan 2000 19:46:30 -0600
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