delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/24/15:43:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Fri, 24 Sep 2004 15:45:47 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: text mount if cygwin not installed
Message-ID: <20040924194547.GS674@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <415465A5 DOT 3010500 AT parkheights DOT dyndns DOT org>
Mime-Version: 1.0
In-Reply-To: <415465A5.3010500@parkheights.dyndns.org>
User-Agent: Mutt/1.4.1i

On Fri, Sep 24, 2004 at 02:21:25PM -0400, sergey ivanov wrote:
>...clients can not receive files, because of translation CR->CR/LF
>inside binary files.  Environment variable CYGWIN=binmode now ignored
>in this situation.

CYGWIN=binmode has been ignored in this situation for quite some time.

>The problem may be solved by entering 'cygdrive flags' valued 0x22 into
>registry key '...Cygwin/mounts v2'.  But I need solution without
>registry changing for the clients.

You could use the mount command.  That's how you manipulate those
registry settings.

>So, now I have a patch, and I am asking to include it, or to solve this 
>problem in some another way, enabling use rsync for clients without 
>installing cygwin.

Thanks for the patch.  I've checked in a minor variation of it.  I chose
to make it clear that MOUNT_BINARY was being passed to get_int by
explicitly including it in each call.  As you correctly surmised,
binmode is supposed to be the default.  I'm surprised that it is not.

This will be in today's snapshot which should be at:

http://cygwin.com/snapshots/

within an hour or so, barring any difficulties.

I'd also contacted the rsync maintainer previously so that this can be
fixed in rsync eventually too.

cgf

--
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