delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/10:23: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://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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 12 Sep 2002 23:17:10 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Finding exact case of paths
In-Reply-To: <Pine.GSO.4.44.0209122209030.19696-300000@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.44.0209122307360.19696-300000@slinky.cs.nyu.edu>
MIME-Version: 1.0

---559023410-684387517-1031885800=:19696
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0209122307362 DOT 19696 AT slinky DOT cs DOT nyu DOT edu>

On Thu, 12 Sep 2002, Igor Pechtchanski wrote:

> On Thu, 12 Sep 2002, Igor Pechtchanski wrote:
> > On a separate note, I found that "cygpath -l -w <path>" does not work on
> > my Win2k SP2 system, returning the same garbage (hex 20 FB 22 0a)
> > regardless of the path.  Anyone else have that problem?
>
> Well, after further reading of the code and experimenting I've determined
> two things:
> 1) the '-l' option of cygpath works in the cvs HEAD, and
> 2) it does exactly what we need (thanks, Corinna).
>
> So we can use $(cygpath -u $(cygpath -l -w "$WINETC/$WFILE")) in the
> script.  This would require people to upgrade to the new cygpath (which
> they would have to anyway, if they were to use the option we proposed),
> which means that this script can not be released before the next cygwin,
> but that is probably fine.  New version and diff attached.
>         Igor
> P.S. I'm racking my brain trying to figure out why -l didn't work for me
> in version 1.21 of cygpath, but did in version 1.22.  As far as I could
> see, the only changes to cygpath were some added newlines...

Whoops, forgot to quote the strings.  Better correct it.  New version
attached.
As for the '-l' in 1.21 issue, there were changes to newlib which have
probably fixed some string bug that caused this.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file

---559023410-684387517-1031885800=:19696
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="make-etc-links.sh"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0209122317100 DOT 19696 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: attachment; filename="make-etc-links.sh"

IyEvYmluL3NoDQojLS0NCiMgQ3JlYXRlIHN5bWJvbGljIGxpbmtzIGZyb20g
c29tZSAvZXRjIGZpbGVzIHRvIHRoZSBXaW5kb3dzIGVxdWl2YWxlbnRzDQoj
LS0NCg0KRklMRVM9Imhvc3RzIHByb3RvY29scyBzZXJ2aWNlcyBuZXR3b3Jr
cyINCg0KT1NOQU1FPSJgL2Jpbi91bmFtZSAtc2AiDQpXSU5IT01FPSJgL2Jp
bi9jeWdwYXRoIC1XYCINCg0KY2FzZSAiJE9TTkFNRSIgaW4NCiAgQ1lHV0lO
X05UKikgV0lORVRDPSIkV0lOSE9NRS9zeXN0ZW0zMi9kcml2ZXJzL2V0YyIg
OzsNCiAgQ1lHV0lOXzkqfENZR1dJTl9NRSopIFdJTkVUQz0iJFdJTkhPTUUi
IDs7DQogICopIA0KICAgIGVjaG8gIlVua25vd24gc3lzdGVtIHR5cGUgJE9T
TkFNRTsgZXhpdGluZyIgPiYyDQogICAgZXhpdCAwDQogIDs7DQplc2FjDQoN
CmlmIFsgISAtZCAiJFdJTkVUQyIgXQ0KdGhlbg0KICBlY2hvICJEaXJlY3Rv
cnkgJFdJTkVUQyBkb2VzIG5vdCBleGlzdDsgZXhpdGluZyIgPiYyDQogIGV4
aXQgMA0KZmkNCg0KZm9yIEZJTEUgaW4gJEZJTEVTDQpkbw0KICBpZiBbICEg
LWUgIi9ldGMvJEZJTEUiIC1hICEgLUwgIi9ldGMvJEZJTEUiIF0NCiAgdGhl
bg0KICAgICMgV2luZG93cyBvbmx5IHVzZXMgdGhlIGZpcnN0IDggY2hhcmFj
dGVycw0KICAgIFdGSUxFPSIkV0lORVRDL2BleHByIHN1YnN0ciAiJEZJTEUi
IDEgOGAiDQogICAgV0ZJTEU9IiQoY3lncGF0aCAtdSAiJChjeWdwYXRoIC13
IC1sICIkV0ZJTEUiKSIpIg0KICAgIC9iaW4vbG4gLXMgLXYgIiRXRklMRSIg
Ii9ldGMvJEZJTEUiDQogIGZpDQpkb25lDQoNCg0K
---559023410-684387517-1031885800=:19696
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="make-etc-links.sh-0.8-diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0209122317101 DOT 19696 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: attachment; filename="make-etc-links.sh-0.8-diff"

LS0tIG1ha2UtZXRjLWxpbmtzLnNoLTAuOAkyMDAyLTA5LTEyIDIyOjM3OjE2
LjAwMDAwMDAwMCAtMDQwMA0KKysrIG1ha2UtZXRjLWxpbmtzLnNoCTIwMDIt
MDktMTIgMjM6MDU6NDMuMDAwMDAwMDAwIC0wNDAwDQpAQCAtNSw4ICs1LDgg
QEANCiANCiBGSUxFUz0iaG9zdHMgcHJvdG9jb2xzIHNlcnZpY2VzIG5ldHdv
cmtzIg0KIA0KLU9TTkFNRT1gL2Jpbi91bmFtZSAtc2ANCi1XSU5IT01FPWAv
YmluL2N5Z3BhdGggLVdgDQorT1NOQU1FPSJgL2Jpbi91bmFtZSAtc2AiDQor
V0lOSE9NRT0iYC9iaW4vY3lncGF0aCAtV2AiDQogDQogY2FzZSAiJE9TTkFN
RSIgaW4NCiAgIENZR1dJTl9OVCopIFdJTkVUQz0iJFdJTkhPTUUvc3lzdGVt
MzIvZHJpdmVycy9ldGMiIDs7DQpAQCAtMjgsOCArMjgsOCBAQCBkbw0KICAg
aWYgWyAhIC1lICIvZXRjLyRGSUxFIiAtYSAhIC1MICIvZXRjLyRGSUxFIiBd
DQogICB0aGVuDQogICAgICMgV2luZG93cyBvbmx5IHVzZXMgdGhlIGZpcnN0
IDggY2hhcmFjdGVycw0KLSAgICBXRklMRT0iJFdJTkVUQy8iYGV4cHIgc3Vi
c3RyICIkRklMRSIgMSA4YA0KLSAgICBXRklMRT0kKGN5Z3BhdGggLXUgIiQo
Y3lncGF0aCAtdyAtbCAiJFdGSUxFIikiKQ0KKyAgICBXRklMRT0iJFdJTkVU
Qy9gZXhwciBzdWJzdHIgIiRGSUxFIiAxIDhgIg0KKyAgICBXRklMRT0iJChj
eWdwYXRoIC11ICIkKGN5Z3BhdGggLXcgLWwgIiRXRklMRSIpIikiDQogICAg
IC9iaW4vbG4gLXMgLXYgIiRXRklMRSIgIi9ldGMvJEZJTEUiDQogICBmaQ0K
IGRvbmUNCg==

---559023410-684387517-1031885800=:19696
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-684387517-1031885800=:19696--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019