This is the mail archive of the
cygwin
mailing list for the Cygwin project.
No endline conversion while in dir that can be reached via both textmode and binmode mounts
- From: Jacek Trzmiel <sc0rp at hot dot pl>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 28 May 2004 10:19:58 +0200
- Subject: No endline conversion while in dir that can be reached via both textmode and binmode mounts
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/