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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 9 Jan 2002 10:53:30 -0500 From: Jason Tishler To: "Gerrit P. Haase @ cygwin" Subject: Re: rebase for setup (curl) Message-ID: <20020109155330.GC1672@dothill.com> Mail-Followup-To: "Gerrit P. Haase @ cygwin" References: <6EB31774D39507408D04392F40A10B2BC1FEA7 AT FDYEXC202 DOT mgroupnet DOT com> <20020108182619 DOT GB2136 AT dothill DOT com> <65368220573 DOT 20020108231342 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <65368220573.20020108231342@familiehaase.de> User-Agent: Mutt/1.3.24i Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g09FnlM02936 Gerrit, On Tue, Jan 08, 2002 at 11:13:42PM +0100, Gerrit P. Haase wrote: > That is funny, with my browser (IE) get just binary garbage: > > BZh91AY&SYCF#=UÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿàŽ…õxù¯4¦½¸ô÷­ö>ûï” >†$什¼ júzí) > ... Sorry, I have no control over your browser and this web server. Unfortunately, .bz2 are considered text (by default) by some web servers. > yÝëâ]ݹç[g¦¯o =<ößK±{ïƒ{½öó©íçj{vï½Ü5õñ×vg]ۮϪÜÚ{–wmnè=uÇ{ÃÞ ... > Well, we have the great Cygwin toolchain, there is wget e.g.;) > > $ wget http://www.tishler.net/jason/software/rebase/rebase.exe.bz2 I guess that I should have been explicit, but I assumed people would use wget or another such tool. > Please, Jason, tell me, where can I find more infos or the sources? You can find more info on the MSDN site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/perfutil_2z39.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/imagehlp_1hut.asp I previous posted the source: http://sources.redhat.com/ml/cygwin/2001-12/txt00005.txt > In detail, I'm getting different error codes 5, 32, 487 like this > and what is strange (I think), I'm geting not one of these errors > running the same command in /usr/local/bin where I have just my own > dll's, well libmysqlclient-11.dll was also build by myself...): We have the following: $ egrep ' (5|32|487)L' /usr/include/w32api/winerror.h #define ERROR_ACCESS_DENIED 5L #define ERROR_SHARING_VIOLATION 32L #define ERROR_INVALID_ADDRESS 487L So maybe you are getting error 5 and 32 because the DLLs are in use? I just got some 487s myself for nonexistent file -- I should have gotten 2. But, then this problem went away -- sorry, I can't explain this except for the standard MS excuse... :,) During some rebase runs, I empirically determined that ReBaseImage() searches your PATH when trying to find (relative) files! Maybe this was causing some of your grief -- your were not necessarily rebasing the files that you thought you were? I just made the following changes to rebase.cc: 1. Display Posix instead of Win32 path names 2. Display file name in ReBaseImage() error messages 3. Pass absolute path names to ReBaseImage() to prevent it from searching the user's PATH. You can find the latest source at: http://www.tishler.net/jason/software/rebase/rebase.cc Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/