From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7204 invoked by alias); 18 Jun 2006 20:05:21 -0000 Received: (qmail 7196 invoked by uid 22791); 18 Jun 2006 20:05:20 -0000 X-Spam-Check-By: sourceware.org Received: from mailout10.sul.t-online.com (HELO mailout10.sul.t-online.com) (194.25.134.21) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Jun 2006 20:05:18 +0000 Received: from fwd27.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1Fs3WF-0003ce-01; Sun, 18 Jun 2006 22:05:15 +0200 Received: from merlin (X7AwP6ZOwe7EH6g1IAUrkivEUItonZjfgFqlxX7Svc-DHJZC5Ni00u@[84.138.86.134]) by fwd27.sul.t-online.de with esmtp id 1Fs3W2-05KFjk0; Sun, 18 Jun 2006 22:05:02 +0200 From: "Michael Fischer" To: Subject: AW: AW: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW Date: Sun, 18 Jun 2006 20:05:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-ID: X7AwP6ZOwe7EH6g1IAUrkivEUItonZjfgFqlxX7Svc-DHJZC5Ni00u X-TOI-MSGID: ff562c4a-200b-4b5c-92cc-eb14099db3c9 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/msg00260.txt.bz2 >> #ifdef __MSDOS__ >> #define CANT_FORK >> #define GLOBAL_CURDIR >> #endif >> >> #if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined >> (__CYGWIN__) >> #define DIRNAME_SEPARATOR ';' >> #endif > >I think __CYGWIN__ should not be here. In fact, even _WIN32 should >not trigger use of `;' unless __CYGWIN__ is not defined. Chris, is >that right? > >Does anyone object to adding something like the above, provided that >we are careful not to break Cygwin? To make sure that we does not break Cygwin, perhaps we can use the following check: #if defined(__MSDOS__) || defined (__MINGW32__) #define DIRNAME_SEPARATOR ';' #endif Only check for __MSDOS__ and __MINGW32__ in this case Cygwin could not be affected. Regards, Michael