delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/28/04:20:56

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
Message-ID: <40B6F62E.4D525707@hot.pl>
Date: Fri, 28 May 2004 10:19:58 +0200
From: Jacek Trzmiel <sc0rp AT hot DOT pl>
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: No endline conversion while in dir that can be reached via both textmode and binmode mounts
X-IsSubscribed: yes

Win2kSP4, cygwin1-20040527.dll snapshot

$ mount -ft c:\\ /test
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /sys type system (textmode)
c: on /test type system (textmode)
d: on /work type system (textmode)
e: on /storage type system (textmode)
f: on /cygdrive/f type user (binmode,noumount)
g: on /cygdrive/g type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)

$ mkdir /test/t
$ mkdir /test/cygwin/t
$ echo "a" >/test/t/a
$ echo "b" >/test/cygwin/t/b
$ cd /test/t
$ echo "c" >c
$ cd /test/cygwin/t
$ echo "d" >d
$ wc -c /test/t/* /test/cygwin/t/*
      3 /test/t/a
      3 /test/t/c
      3 /test/cygwin/t/b
      2 /test/cygwin/t/d
     11 total


Bug or a feature?  Shouldn't /test/cygwin/t/d be 3 bytes long as well? 
I recall it working properly (i.e. converting to windows endlines) when
inside such directory some time ago.

Best regards,
Jacek.

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