delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/19/13:11:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3DDA7E9A.2010603@ntlworld.com>
Date: Tue, 19 Nov 2002 18:10:34 +0000
From: Parish <parish AT ntlworld DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021025 Netscape6/6.5
X-Accept-Language: en-gb, en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: patch(1) (Win32) and path separators

patch(1) on Win32 seems to insist on '\' rather than '/' in the paths in 
diffs. This is somewhat at odds with diff(1) which uses '/', even on 
Windows.

According to the manpage there is no option to change this behaviour.

I have d/l the sources but have yet to build it (am I correct that it 
needs gcc to build, i.e. won't build with MSVC++?) with the intention of 
making my own version that works with '/'.

Can anyone confirm that there isn't an undocumented option (cmd line or 
build) to make it use '/'? If there isn't, why is it that the Windows 
version works this way, especially when diff(1) DTRT?

Thanks.

Regards,

Parish



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019