* toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
authorJeffrey A Law <law@cygnus.com>
Thu, 8 Oct 1998 21:21:48 +0000 (21:21 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 21:21:48 +0000 (15:21 -0600)
From-SVN: r22938

gcc/ChangeLog
gcc/toplev.c

index 1f643a2..4878aa2 100644 (file)
@@ -13,6 +13,8 @@ Thu Oct  8 17:00:18 1998  Richard Henderson  <rth@cygnus.com>
 
 Thu Oct  8 17:15:04 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
+
        * cpplib.h: Protect from multiple inclusions.
        * cpplib.c: Fix minor formatting problems.
 
index e2ddcaf..c3269f4 100644 (file)
@@ -2389,7 +2389,7 @@ output_file_directive (asm_file, input_name)
   /* NA gets INPUT_NAME sans directory names.  */
   while (na > input_name)
     {
-      if (na[-1] == '/')
+      if (na[-1] == DIR_SEPARATOR)
        break;
       na--;
     }