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 for fixing path canonicalization for DJGPP


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


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