delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/27/21:39:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: Re: RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86)
From: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
To: egor duda <cygwin AT cygwin DOT com>
Cc: Dario Alcocer <alcocer AT helixdigital DOT com>
In-Reply-To: <54287777692.20010727191834@logos-m.ru>
References: <17B78BDF120BD411B70100500422FC6309E2FD AT IIS000>
<15199 DOT 13618 DOT 671411 DOT 755243 AT coyote DOT priv DOT helixdigital DOT com>
<996103548 DOT 18053 DOT 7 DOT camel AT lifelesswks>
<15200 DOT 14214 DOT 419912 DOT 961927 AT coyote DOT priv DOT helixdigital DOT com>
<996191259 DOT 22763 DOT 10 DOT camel AT lifelesswks>
<15200 DOT 47790 DOT 702008 DOT 800618 AT coyote DOT priv DOT helixdigital DOT com>
<996235227 DOT 24495 DOT 2 DOT camel AT lifelesswks>
<76279221288 DOT 20010727165557 AT logos-m DOT ru>
<996244581 DOT 27550 DOT 8 DOT camel AT lifelesswks>
<54287777692 DOT 20010727191834 AT logos-m DOT ru>
X-Mailer: Evolution/0.11 (Beta Release)
Date: 28 Jul 2001 11:34:54 +1000
Message-Id: <996284094.3719.8.camel@lifelesswks>
Mime-Version: 1.0
X-OriginalArrivalTime: 28 Jul 2001 01:21:08.0237 (UTC) FILETIME=[943BC3D0:01C11703]

On 27 Jul 2001 19:18:34 +0400, egor duda wrote:
> Hi!
> 
> Friday, 27 July, 2001 Robert Collins robert DOT collins AT itdomain DOT com DOT au wrote:
> 
> RC> On 27 Jul 2001 16:55:57 +0400, egor duda wrote:
> >> Friday, 27 July, 2001 Robert Collins robert DOT collins AT itdomain DOT com DOT au wrote:
> >> RC> On 26 Jul 2001 17:49:50 -0700, Dario Alcocer wrote:
> >> >> >>>>> "Robert" == Robert Collins <robert DOT collins AT itdomain DOT com DOT au> writes:
> >> >> 
> >> >>     Robert> As Chuck has mentioned, that cygwin1.dll should have a
> >> >>     Robert> different shared memory region identifier, to prevent
> >> >>     Robert> crashes :}.
> >> >> 
> >> >> Just curious; can't we avoid a specially built version of cygwin1.dll
> >> >> by making sure that cygwin1.dll isn't loaded when the installer runs?
> >> >> Making a special verion of cygwin1.dll could add more confusion.
> >> RC> What if:
> >> RC> the irt cygwin1.dll is incompatible with the installed, running
> >> RC> cygwin1.dll - so that any attempt to call cygwin1.dll functions (which
> >> RC> the irt uses?) results in a crash.
> >> RC> I covered ina different reply the mechanics of a different shared memory
> >> RC> identifier.
> >> 
> >> if you run x:\some\temp\path\ash.exe and x:\some\temp\path\ contains
> >> cygwin1.dll is _doesn't_ matter if any other program is running from
> >> c:\cygwin\bin and using incompatible version of cygwin1.dll from
> >> c:\cygwin\bin\, as long as you're taking care about shared memory
> >> region name.
> 
> RC> Yes - precisely my point :]. (Dario asked about avoiding having a
> RC> different shared memory region name).
> 
> No! he talked about custom-built dll. custom-built dll and different
> shared region name are _different_ issues. You can make 2 normally
> built dlls to have different shared area names. i use stock version
> 1.1.8 for debugging version 1.3.2. gdb uses 1.1.8, debugee uses 1.3.2.
> they're running along nicely.

Uhmm, I'm bit unclear as to how you can change the shared memory region
with building a custom cygwin1.dll. 

> so, *If* you can guarantee that all applications during bootstrapping
> are run from the single directory, you can make them not interfere
> with other currently running cygwin applications.

Yes... I know and agree.

> [...]
> > 
> it can use file name/package name/feature (with versioning, btw).

Excellent - it's obviously come a ways since I last dug deep.

Rob


--
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/

- Raw text -


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