From: Eli Zaretskii <eliz@gnu.org>
To: Michael Fischer <fischermi@t-online.de>, gdb-patches@sourceware.org
Subject: Re: AW: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
Date: Sat, 24 Jun 2006 13:51:00 -0000 [thread overview]
Message-ID: <uwtb68xwn.fsf@gnu.org> (raw)
In-Reply-To: <20060620202742.GD1453@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 20 Jun 2006 16:27:42 -0400)
> Date: Tue, 20 Jun 2006 16:27:42 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Michael Fischer <fischermi@t-online.de>, gdb-patches@sourceware.org
>
> Personally, I'd grab the #define from libiberty/make-relative-prefix.c,
> and maybe even move it into include/filenames.h. That one's better
> tested. But it uses ';' if _WIN32, so don't ask me how that works for
> Cygwin builds. Maybe it doesn't.
>
> I'm fine with Chris's suggested definition, naturally.
Thanks to you and Chris for all the feedback.
I eventually opted for the change in defs.h, to avoid the risk of
breaking something else that uses include/filenames.h. Here's what I
actually committed:
2006-06-24 Eli Zaretskii <eliz@gnu.org>
* defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
Index: gdb/defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.194
diff -u -r1.194 defs.h
--- gdb/defs.h 25 Feb 2006 04:36:39 -0000 1.194
+++ gdb/defs.h 24 Jun 2006 13:47:43 -0000
@@ -1163,6 +1163,10 @@
# define DIRNAME_SEPARATOR ';'
#endif
+#if !defined (__CYGWIN__) && defined (_WIN32)
+# define DIRNAME_SEPARATOR ';'
+#endif
+
#ifndef DIRNAME_SEPARATOR
#define DIRNAME_SEPARATOR ':'
#endif
next prev parent reply other threads:[~2006-06-24 13:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <JLEAKDMELBINENLADICFIEFHCIAA.fischermi@t-online.de>
2006-06-18 3:24 ` Eli Zaretskii
2006-06-18 4:56 ` Masaki Muranaka
2006-06-18 9:03 ` AW: " Michael Fischer
2006-06-18 19:47 ` Eli Zaretskii
2006-06-18 20:05 ` AW: " Michael Fischer
2006-06-18 20:16 ` Christopher Faylor
2006-06-18 20:15 ` Christopher Faylor
2006-06-19 3:22 ` Eli Zaretskii
2006-06-20 20:27 ` Daniel Jacobowitz
2006-06-24 13:51 ` Eli Zaretskii [this message]
2006-06-18 19:47 ` Eli Zaretskii
2006-06-19 0:27 ` Masaki Muranaka
2006-06-19 3:14 ` Eli Zaretskii
2006-06-19 3:38 ` Masaki Muranaka
2006-06-20 20:24 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uwtb68xwn.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=fischermi@t-online.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox