Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 14 Jul 2005 16:01:08 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: rebaseall (was Re: Perl Win32::Shortcut screws up fork) Message-ID: <20050714200108.GD24167@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <7231C15EAC2F164CA6DC326D97493C8BA1C3FA AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <42CDD3B8 DOT 69B6AB98 AT dessent DOT net> <20050708011859 DOT GB24841 AT trixie DOT casa DOT cgf DOT cx> <42CDD9CB DOT 8390A097 AT dessent DOT net> <20050708020511 DOT GA1718 AT trixie DOT casa DOT cgf DOT cx> <42CDE3D4 DOT 6030507 AT byu DOT net> <20050708035038 DOT GB2123 AT trixie DOT casa DOT cgf DOT cx> <20050711124307 DOT GB3856 AT tishler DOT net> <20050712020833 DOT GB17886 AT trixie DOT casa DOT cgf DOT cx> <20050714115552 DOT GB3304 AT tishler DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050714115552.GB3304@tishler.net> User-Agent: Mutt/1.5.8i On Thu, Jul 14, 2005 at 07:55:52AM -0400, Jason Tishler wrote: >On Mon, Jul 11, 2005 at 10:08:33PM -0400, Christopher Faylor wrote: >> On Mon, Jul 11, 2005 at 08:43:07AM -0400, Jason Tishler wrote: >> >My inclination is to convert rebaseall to an ash script. >> >> Once again, let me point out -- that will not solve the problem. You >> won't be able to run the script from bash, for obvious reasons. > >Understood. Yeah, I saw that you understood in a later thread. I should have kept reading. >On Mon, Jul 11, 2005 at 11:50:08PM -0400, Christopher Faylor wrote: >> OTOH, writing a mingw C program to do what rebaseall does wouldn't be >> *that* hard. > >Agreed. > >I would like to go with this approach except rewrite rebaseall as a >Cygwin C program with the Cygwin DLL as its only dynamic dependency. >However, given my limited free time, it may be a while before I can >develop a C-based rebaseall. So, what is the best short-term solution? >Should I just release a new package with the following patch: > > http://cygwin.com/ml/cygwin/2005-07/msg00319.html > >applied? How about if for now you just make it an ash script (meaning that it relies on ash) and use your technique of checking for other cygwin processes running? If "we" are going to make this a program anyway, eventually, then I don't mind just using your technique which is really more foolproof than mine. No matter how this is implemented, checking that no cygwin processes are running before running rebaseall has to be a good idea. If we do make this a program, maybe it should just be an extension to rebase itself: "rebase --all" ? cgf -- 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/