This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/13272] New: libiberty/lbasename.c has incorrect DIR_SEPARATOR
- From: "kewarken at qnx dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2003 18:04:35 -0000
- Subject: [Bug debug/13272] New: libiberty/lbasename.c has incorrect DIR_SEPARATOR
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The DIR_SEPARATOR_2 should be defined for __CYGWIN__.
$ cvs diff -u lbasename.c
Index: lbasename.c
===================================================================
RCS file: /product/tools/gdb/libiberty/lbasename.c,v
retrieving revision 1.2
diff -u -r1.2 lbasename.c
--- lbasename.c 6 Sep 2002 20:21:02 -0000 1.2
+++ lbasename.c 2 Dec 2003 17:10:58 -0000
@@ -46,7 +46,7 @@
#endif
#if defined (_WIN32) || defined (__MSDOS__) \
- || defined (__DJGPP__) || defined (__OS2__)
+ || defined (__DJGPP__) || defined (__OS2__) || defined (__CYGWIN__)
# define HAVE_DOS_BASED_FILE_SYSTEM
# ifndef DIR_SEPARATOR_2
# define DIR_SEPARATOR_2 '\\'
--
Summary: libiberty/lbasename.c has incorrect DIR_SEPARATOR
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: drow at mvista dot com
ReportedBy: kewarken at qnx dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13272