This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for fixing path canonicalization for DJGPP
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch for fixing path canonicalization for DJGPP
- From: pavenis at lanet dot lv
- Date: Sat, 20 Oct 2001 19:44:46 +0300
Path canonicalization does not work for DJGPP in current CVS
version.
gcc/prefix.c invokes UPDATE_PATH_PATH_CANONICALIZE
macro on formal parameter path, which is no more used. As result
invoking this macro has no effect at all. This small patch fixes that.
Andris
2001-10-20 Andris Pavenis <pavenis@lanet.lv>
* gcc/prefix.c (update_path): fix path canonicalization
--- gcc/prefix.c~1 Fri Oct 12 04:01:44 2001
+++ gcc/prefix.c Sat Oct 20 19:28:04 2001
@@ -273,7 +273,7 @@ update_path (path, key)
#ifdef UPDATE_PATH_HOST_CANONICALIZE
/* Perform host dependent canonicalization when needed. */
- UPDATE_PATH_HOST_CANONICALIZE (path);
+ UPDATE_PATH_HOST_CANONICALIZE (result);
#endif
#ifdef DIR_SEPARATOR_2