www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/19/14:53:08

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <394E6986.AEDB442C@vinschen.de>
Date: Mon, 19 Jun 2000 20:42:14 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: [PATCH]: Changes in process startup code
References: <20000619180845 DOT 7922 DOT qmail AT web115 DOT yahoomail DOT com> <20000619141854 DOT A16453 AT cygnus DOT com>

Chris Faylor wrote:
> 
> On Mon, Jun 19, 2000 at 11:08:45AM -0700, Earnie Boyd wrote:
> >--- Corinna Vinschen <corinna AT vinschen DOT de> wrote:
> >>Disadvantage: Changes made to the users registry hive in a telnet/ssh
> >>session are lost on reboot because there's currently no code which
> >>would be able to save the hive back again.
> >
> >Would it be possible for the programs changing the registry hive to
> >warn the user in this instance that the changes won't be saved on
> >reboot (or did you mean new session)?
> 
> I think that this is a work in progress so this is not a permanent
> limitation.

The problem is that the RegSaveKey must not interfere with
the standard windows method.

What's needed is that the dll itself _knows_ that the
current exiting process is the last process of the
current user. If so, it would be able to save and unload
the hive from the registry.

Does somebody have some code for that?

"Last process" means, _really_ the last process on that machine,
not only the last process in cygwin. If the user has still an
interactive console session, the problem is solved because the
windows logout code cares for saving and unloading anyway.

Corinna

- Raw text -


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