delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/13/21:53:05

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040113214347.03895b78@127.0.0.1>
X-Sender:
Date: Tue, 13 Jan 2004 21:48:13 -0500
To: "Dylan Cuthbert" <dylan AT q-games DOT com>, "Cygwin List" <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: rsync/cygwin can't handle filenames with some character set
In-Reply-To: <004401c3da3f$80b423f0$2801a8c0@dylanxp>
References: <007901c3d6c9$d20f8970$0101c80a AT 2ks> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040109113245 DOT 037cb7f0 AT 127 DOT 0 DOT 0 DOT 1> <000e01c3d6dd$abde87b0$0101c80a AT 2ks> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040109140045 DOT 037d9dc0 AT 127 DOT 0 DOT 0 DOT 1> <004401c3da3f$80b423f0$2801a8c0 AT dylanxp>
Mime-Version: 1.0

At 08:41 PM 1/13/2004, Dylan Cuthbert you wrote:
>Actually, the problem I was having with rsync/cygwin and codepages was
>caused by cygwin's modification of file paths, ie. some Japanese encodings
>can cause a filename to have three backslashes (when viewed in Japanese it
>doesn't of course) in it.
>
>Cygwin seemed to be kicking in when it saw the backslashes to try and map
>windows drive shares or something like that.
>
>In the end I gave up and changed what I was doing to remain on linux and
>ended up using cygwin only for the very final stage (it is an automated
>backup system).


Yes the Cygwin Windows to POSIX path mapping code uses the occurrence of 
backslash in the path as an indicator that it's a Windows path.  I 
guess this would be a PTC situation, assuming you cannot use "mount"
to mask the problem in some way.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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