delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/19/18:37:33

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
From: "Gary R Van Sickle" <tiberius AT braemarinc DOT com>
To: "Cygwin Mailing List \(E-mail\)" <cygwin AT sources DOT redhat DOT com>
Subject: 1.3.11s(0.53/3/2) 20020619: cp corrupting exe's on text mounts
Date: Wed, 19 Jun 2002 17:37:41 -0500
Message-ID: <001801c217e1$ec758380$2101a8c0@BRAEMARINC.COM>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

It appears to be removing \r's from binaries.  Unless I'm seeing things.  I
do a "cp orig.exe copied.exe" in a text-mounted tree and I see this:

orig.exe:
0000100 016 037 272 016  \0 264  \t 315   ! 270 001   L 315   !   T   h
0000120   i   s       p   r   o   g   r   a   m       c   a   n   n   o
0000140   t       b   e       r   u   n       i   n       D   O   S
0000160   m   o   d   e   .  \r  \r  \n   $  \0  \0  \0  \0  \0  \0  \0
                             ^^^^^^^^^^

copied.exe:
0000100 016 037 272 016  \0 264  \t 315   ! 270 001   L 315   !   T   h
0000120   i   s       p   r   o   g   r   a   m       c   a   n   n   o
0000140   t       b   e       r   u   n       i   n       D   O   S
0000160   m   o   d   e   .  \r  \n   $  \0  \0  \0  \0  \0  \0  \0 312
                             ^^^^^^

It's been doing this for a few snapshots now.

mount looks like this:
c:\unix\bin on /usr/bin type system (textmode)
c:\unix\lib on /usr/lib type system (textmode)
c:\unix on / type system (textmode)
c: on /cygdrive/c type user (textmode,noumount)

"cp --version" yields:
cp (fileutils) 4.1

--
Gary R. Van Sickle
Braemar Inc.
11481 Rupp Dr.
Burnsville, MN 55337



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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