Subject: Re: rename or copy cygwin1.dll to cygwinb19.dll
From: [email-masked] (Mikey)

10 Nov 1998 19:05:42 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Corinna Vinschen <[email-masked]>
Cc: [email-masked]

Corinna you should try gsar
makes these little things MUCH easier ;^)

NAME
       gsar - General Search And Replace utility

SYNOPSIS
       gsar [options] [infile(s)] [outfile]

DESCRIPTION
       gsar (General Search And Replace) is a utility for search-
       ing for and --- optionally --- replacing strings  in  both
       text  and binary files. The search and replace strings can
       contain all kinds of characters (0--255), i.e. Ctrl  char-
       acters and extended ASCII as well.

gsar -scygwinb19.dll *.[EeDd][XxLl][EeLl]
to make sure of only 1 replace
gsar -iscygwinb19.dll *.[EeDd][XxLl][EeLl] -rcygwin1.dll\000\000 -o

This should work but as always backups are a must!!

On Sun, 08 Nov 1998 23:56:17 +0100, you wrote:

>Earnie Boyd wrote:
>> 
>> [email-masked] wrote:
>> >
>> > The install instructions say:
>> >
>> > This version of Cygwin is backwards-compatible with the beta 19
>> release. If
>> > you rename the cygwin1.dll included as part of B20 to
>> "cygwinb19.dll", the
>>
>> [...]
>>
>> Yes, it should have been copy.  However, if you execute a program such
>> as the gdb from b19 that calls a cygwin build dll and it gets the one
>> with cygwin1.dll then you will crash with a core file as the two can't
>>
>> [...]
>
>There's another, a little bit `brutal' method:
>
>Take your favorite hex editor, open the b19 executable, you wish to
>`transform' to a b20 exe, search for `cygwinb19.dll', change it to
>`cygwin1.dll', followed by two ASCII-NUL (the file length may not be
>changed!) and save it and ... yes, start it!
>
>I have tested it with different b19 progs. It does the appropriate. 
>
>This leads to only one cygwin1.dll. The copy to `cygwinb19.dll'
>is unnecessery.
>
>Regards,
>Corinna
>-
>For help on using this list (especially unsubscribing), send a message to
>"[email-masked]" with one line of text: "help".

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".