delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/16/01:17:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C6DF94A.2079DCC0@windriver.com>
Date: Fri, 15 Feb 2002 22:16:42 -0800
From: Doru Carastan <doru DOT carastan AT windriver DOT com>
Organization: Wind River, Inc.
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Registry freedom
References: <1013760405 DOT 2121 DOT ezmlm AT cygwin DOT com>

Hello everybody,

I believe it is time to break free from using the registry. It doesn't
allow for multiple versions to coexists, which creates a nightmare when
it comes to packaging Cygwin with another product. 

I've been rebuilding cygwin1.dll for a while with a custom shared memory
id and registry section and I know that it is possible to have a given
cygwin1.dll version coexist with its modified clone. Why not using
GetModuleFileName() to retrieve the path to the dll and look around it
for an mtab like ASCII file. Once the DLL path is retrieved the mtab
file can be searched in $dllDir/../etc/:$dllDir. If it is missing then
assume that there are no custom settings and use the defaults.

I wonder if this can be done. Does anyone see any technical problems?

Thank you,
Doru Carastan

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