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]

RFC: 1.5.14-1 cygwin1.dll could not be found


----Original Message----
>From: Dave Korn
>Sent: 07 April 2005 19:47


>   Just to save any duplication of effort, I thought I should mention that
> I'm taking a look at this over the next few days and weekend.  If anyone
> else was too, please drop me a line and we'll co-ordinate.


  Well, I have a crude patch going, and it's that time of night that I'm
leaving the office and going home now[*], so here's what I've done so far,
just in case anyone else wants to have a go and see if it works for them. 

  NOTE that this is not a patch submission, just an RFC, for the following
reasons:

1)  It's a horrible bit of inefficient cut'n'paste coding based on a quick
skim through the code and not a deep understanding of it.  Some of it is
definitely superfluous, such as checking for the cygwin package by name
twice.

2)  It's got a couple of MessageBox calls in it, which are no good for
production coding, but are the sort of thing I like to use in debug and
development in order to be very sure that events are occurring in the order
I think they are.

3)  There's no changelog entry!

4)  I'm not sure how correct it is!  For instance, do I need to worry about
whether the cygwin package is going to be an uninstall-and-reinstall or a
replace-in-place?  

5)  It may or may not be generating a spurious 'Replaced files in use -
reboot needed' warning (but then I realised I had left a bash shell running
in the background while testing an upgraded install)

6)  Possibly related to that, I'm now seeing lots of '_impure_ptr entrypoint
not found' dialog boxes.  Hmm, this now looks like it totally failed to
either remove or rename the old .dll, but maybe I've really bodged my test
by leaving that shell window open.  D'oh.



Oh well, looks like it needs a bit more testing, but I'm off home now, so
here it is for anyone who wants to take a look at it.





    cheers,
      DaveK
[*]  Oh alright, I admit it.  I'm going to the pub first.  *Then* I'm going
home :D <hic>
-- 
Can't think of a witty .sigline today....

Attachment: setup-save-cygdll-til-last-patch.diff
Description: Binary data

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