This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reuse of old downloded cygwin packages


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]