delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/10/19:05:42

From: jeffdbREMOVETHIS AT goodnet DOT com (Mikey)
Subject: Re: rename or copy cygwin1.dll to cygwinb19.dll
10 Nov 1998 19:05:42 -0800 :
Message-ID: <3647f94b.36801896.cygnus.gnu-win32@mail.goodnet.com>
References: <19981107144953 DOT 15700 DOT rocketmail AT send102 DOT yahoomail DOT com>
Reply-To: jeffdbREMOVETHIS AT goodnet DOT com
Mime-Version: 1.0
To: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
Cc: gnu-win32 AT cygnus DOT com

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:
>> 
>> ---marc_auslander AT us DOT ibm DOT com 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
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019