This is the mail archive of the cygwin-apps@cygwin.com 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: Setup.exe subdirectories


----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Michael A Chase" <mchase@ix.netcom.com>; <cygwin-apps@cygwin.com>
Sent: Friday, February 22, 2002 23:04
Subject: RE: Setup.exe subdirectories

>> -----Original Message-----
>> From: Michael A Chase [mailto:mchase@ix.netcom.com]
>>
>> I just tried downloading the new grep package in one
>> setup.exe run and then
>> installing it in another.  Until I deleted the old setup.ini
>> in the base
>> directory, I got message IDS_OLD_SETUPINI when I tried to
>> install from the
>> local directory.
>>
>> It looks like the setup.ini routines in ini.cc and iniparse.y are
>> overwriting setup_timestamp and setup_version with the last
>> setup.ini file
>> read.  If that happens to be the newest, everyone is happy.
>> If it isn't
>> things could be confused.
>>
>> Would it be worthwhile for me to try to make sure only the
>> newest setup.ini
>> gets used?
>
> No.  They are all meant to be used.  What could happen is that the warning
> specifies which sites are out of date, and allows the user to turn the
warning
> off in future.  Otherwise, I think we will want to eliminate the warning,
as
> > with multiple sites and merged ini's it's kinda obsolete.

Right now all the warning says is that setup.ini is out of date, not which.
Because there is only one setup_version recorded, it only applies to the
last setup.ini parsed.  Perhaps the warning should be moved to just after
the call to yyparse() in do_remote_ini() and find_routine().  The site URL
or directory could also be added to the parse error message box.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



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