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: RFA: Fix problem with trailing slashes in include paths on mingw


Joern RENNECKE wrote:

+/* While the native stat() on NT4 accepts slashes, the one on
+   MS Windows 2000 / XP does not.  So remove any trailing slashes
+   except for the first one after a colon.  */
+#if 1

Remove the #if, or make it #if _SOME_WINDOWS_SOMETHING?


Do you really want to let "c:/" go by? Does XP stat handle that? Or should it be changed to "c:\"?

You'll need a cpplib sign-off; I'm just trying to help move things along.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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