public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* No endline conversion while in dir that can be reached via both textmode and binmode mounts
@ 2004-05-28  9:14 Jacek Trzmiel
  2004-05-29 16:53 ` Pierre A. Humblet
  0 siblings, 1 reply; 3+ messages in thread
From: Jacek Trzmiel @ 2004-05-28  9:14 UTC (permalink / raw)
  To: cygwin


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No endline conversion while in dir that can be reached via both textmode and binmode mounts
  2004-05-28  9:14 No endline conversion while in dir that can be reached via both textmode and binmode mounts Jacek Trzmiel
@ 2004-05-29 16:53 ` Pierre A. Humblet
  2004-05-29 23:35   ` Jacek Trzmiel
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre A. Humblet @ 2004-05-29 16:53 UTC (permalink / raw)
  To: cygwin; +Cc: Jacek Trzmiel

On Fri, May 28, 2004 at 10:19:58AM +0200, Jacek Trzmiel wrote:
> 
> 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.

Thanks for the report. It should be fixed in the May 28 snapshot.
http://www.cygwin.com/snapshots/cygwin1-20040528.dll.bz2

Pierre

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: No endline conversion while in dir that can be reached via both textmode and binmode mounts
  2004-05-29 16:53 ` Pierre A. Humblet
@ 2004-05-29 23:35   ` Jacek Trzmiel
  0 siblings, 0 replies; 3+ messages in thread
From: Jacek Trzmiel @ 2004-05-29 23:35 UTC (permalink / raw)
  To: cygwin


> > 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.
> 
> Thanks for the report. It should be fixed in the May 28 snapshot.
> http://www.cygwin.com/snapshots/cygwin1-20040528.dll.bz2

Thanks, it does work.

Greetings,
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-29 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28  9:14 No endline conversion while in dir that can be reached via both textmode and binmode mounts Jacek Trzmiel
2004-05-29 16:53 ` Pierre A. Humblet
2004-05-29 23:35   ` Jacek Trzmiel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).