From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31853 invoked by alias); 18 Jun 2006 19:47:18 -0000 Received: (qmail 31845 invoked by uid 22791); 18 Jun 2006 19:47:17 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Jun 2006 19:47:16 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-247-25.inter.net.il [80.230.247.25]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DTS27323 (AUTH halo1); Sun, 18 Jun 2006 22:43:43 +0300 (IDT) Date: Sun, 18 Jun 2006 19:47:00 -0000 Message-Id: From: Eli Zaretskii To: Masaki Muranaka CC: fischermi@t-online.de, gdb-patches@sourceware.org In-reply-to: <735259CC-31B1-4B61-A586-AF0B642CA374@monami-software.com> (message from Masaki Muranaka on Sun, 18 Jun 2006 13:56:32 +0900) Subject: Re: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW Reply-to: Eli Zaretskii References: <735259CC-31B1-4B61-A586-AF0B642CA374@monami-software.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00258.txt.bz2 > Cc: "Michael Fischer" , > gdb-patches@sourceware.org > From: Masaki Muranaka > Date: Sun, 18 Jun 2006 13:56:32 +0900 > > BTW, Why do we use DIRNAME_SEPARATOR, instead of PATH_SEPARATOR ? > As PATH_SEPARATOR is detected by configure, it is trustable. Not really: MinGW lacks a port of Bash, so people are using all kinds of replacements, which may well produce `:' as PATH_SEPARATOR. In particular, two popular ports, the ones from Cygwin and MSYS, will do that, I think. Cross builds are another such case. So I think we should simply hard-code that in Windows native ports.