delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3AEDA61F.5010904@home.com> |
Date: | Mon, 30 Apr 2001 13:51:27 -0400 |
From: | Heitzso <heitzso AT home DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux 2.4.4 i686; en-US; 0.8) Gecko/20010322 |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
CC: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | cvs bug -- also relates to general approach w/ cygwin |
References: | <2C08D4EECBDED41184BB00D0B747334202FB434A AT exchanger DOT cacheflow DOT com> |
I dug out the cvs bug that breaks with cvs update dir\dir\dir\file.name but works with cvs update dir/dir/dir/file.name There's a function last_component that's looking for the filename part of a path and it's looking for the rightmost forward slash. Coming into this code dir\dir etc is still back slashed so it breaks. My question is what is the philosophy behind porting code to cygwin. Raw *nix code expects a forward slash path separator. So, in this case, should the argument have been auto converted by cvs or by cygwin? I also acknowledge that this may not be a 'bug' because cygwin executables perhaps are expected to run in a cygwin shell and be passed *nix filenames. This whole issue came up because netbeans/forte uses the backslash mechanism when invoking cvs. Their take is that they assume backslash is correct because they're running in a WinXX environment. I keep cygwin cvs on my boxes because cygwin provides ssh/ssl/cvs/etc. in one convenient package. I'll do dig into FAQs on this but if anyone has a quick pointer I'ld appreciate it. Thanks, Heitzso (no flames please, I will be digging into the FAQ/doc now) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |