X-Spam-Check-By: sourceware.org Date: Tue, 4 Jul 2006 16:08:02 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Win32 error 487 and rebaseall Message-ID: <20060704140802.GG18873@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <44AA746E DOT 9030306 AT may DOT be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44AA746E.9030306@may.be> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Jul 4 16:00, Cliff Stanford wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Thought it was worth reporting my experience today back to this list. > > These "Win32 error 487" messages were getting worse and worse to the > point that it was becoming impossible to start Xwin and run an xterm. > > Searching back through the list I found > http://www.cygwin.com/ml/cygwin/2005-09/msg00919.html where John Wei > makes a reference to rebaseall. > > Unfortunately, /bin/rebaseall fails to execute on the current release of > cygwin (1.5.20-1) because of the following line: > > grep -q -i -v '/ash$' /proc/[0-9]*/exename > > It is supposed to ensure that only ash is running. The problem is that > cat /proc/[0-9]*/exename produces: > > /usr/bin/ash.exe > > Thus the script needs to be modified to say: > > grep -q -i -v '/ash\.exe$' /proc/[0-9]*/exename The script should be modified to allow both variations, with and without .exe suffix. The reason is that the suffix disappears again when using the experimental CYGWIN=transparent_exe option, which might become not so experimental at one point in an only vaguely defined future... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/