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]
Other format: [Raw text]

RE: [PATCH] use IS_ABSOLUTE_PATH and friends


> 	(file_name_acquire): Use DIR_SEPARATOR and DIR_SEPARATOR_2.
> 
Breaks mingw32 and cygwin builds. dwarf2out.c fails to compile.
This fixes.  Bootstrapped and regtested on i686-pc-mingw32

2006-10-29  Danny Smith  <dannysmith@users.sourceforge.net>

	dwarf2out.c (file_name_acquire): Correct typo.


Index: dwarf2out.c
===================================================================
--- dwarf2out.c	(revision 118159)
+++ dwarf2out.c	(working copy)
@@ -7669,7 +7669,7 @@
   f = strrchr (f, DIR_SEPARATOR);
 #if defined (DIR_SEPARATOR_2)
   {
-    char *g = strrchr (files[i].path, DIR_SEPARATOR_2);
+    char *g = strrchr (fi->path, DIR_SEPARATOR_2);
 
     if (g != NULL)
       {


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