| delorie.com/archives/browse.cgi | search |
| 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 |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | Rolf Campbell <Endlisnis AT mailc DOT net> |
| Subject: | Re: Possible bug in text/binary mode handling in cygwin1.dll version |
| 1.5 | |
| Date: | Mon, 13 Oct 2003 17:26:49 -0400 |
| Lines: | 29 |
| Message-ID: | <bmf5ar$eh2$1@sea.gmane.org> |
| References: | <3F8771D4 DOT 7000907 AT trivee DOT org> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 |
| X-Accept-Language: | en-us, en |
| In-Reply-To: | <3F8771D4.7000907@trivee.org> |
Vladimir Vysotsky wrote:
> Hi,
>
> I'm using the following sequence of actions to reproduce this problem:
>
> ----------------
> C:\test>bash
> bash-2.05b$ echo "Test" >/c/test/test1.txt
> bash-2.05b$ echo "Test" >c:/test/test2.txt
> bash-2.05b$ ls -l
> total 2
> -rw-r--r-- 1 vvysotsk mkpasswd 6 Oct 10 19:49 test1.txt
> -rw-r--r-- 1 vvysotsk mkpasswd 6 Oct 10 19:49 test2.txt
> bash-2.05b$
> ----------------
>
> Since drive C: is mounted in text mode (mount -f -s -t "c:" /c), both
> test1.txt and test2.txt are 6 bytes long ('T', 'e', 's', 't', 0x0D,
> 0x0A). This is with cygwin1.dll version 1.3.2.
>
> However, when I install cygwin1.dll version 1.5.x, test2.txt is only
> 5 bytes long, ending with just 0x0A:
C: is not mounted in text mode. /c is mounted in text mode. C: isn't
mounted at all.
If you set CYGWIN=textmode then that would mean that windows-style paths
would be treated as text-mounts.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |