delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/21/10:45:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 21 Mar 2005 10:45:20 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Pradip Jadav <pradipjadav AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Reuse of old downloded cygwin packages
In-Reply-To: <5f08076705032100438b7c0bd@mail.gmail.com>
Message-ID: <Pine.GSO.4.61.0503211039020.8708@slinky.cs.nyu.edu>
References: <5f080767050317011268803e1e AT mail DOT gmail DOT com> <42398917 DOT 9010301 AT racsa DOT co DOT cr> <5f08076705032023061c7bc254 AT mail DOT gmail DOT com> <5f08076705032100438b7c0bd AT mail DOT gmail DOT com>
MIME-Version: 1.0

On Mon, 21 Mar 2005, Pradip Jadav wrote:

> ok
> The problem is resolved..
> Actually I was copying folder from one hard-drive to another in DOS
> mode.so what happened .....all filenames and foldernames more than 6
> characters were renamed.. e.g.  libgpg-error folder was renamed to
> LIBGPG~1 and  libgpg-error-1.0-2.tar.bz2 file renamed to
> LIBGPG~1.BZ2.
> hence the setup was not detecting all packages...
> Now if u dont mind I just want ask whether this problem can be
> fixed??? I mean if files and folders are renamed by DOS system itself
> , then our setup.exe should detect them also ??? Sorry if its silly
> question....

Not as much silly as misguided.  The mapping from long filenames to short
filenames happens at the Windows level -- there is no way for a program to
predict what short name a particular long name will map to.  Thus, there
is no way to track the short names back to the long names, sorry.

One wild idea: you could try matching the MD5 sums of the bz2 files to the
contents of setup.ini...  Given that the short names do share the first 6
characters with the long names, this shouldn't be too time-consuming.
But, as Larry said already, <http://cygwin.com/acronyms/#SHTDI>, and it
probably won't be anyone but you.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

- Raw text -


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