Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Rainer Hochreiter <rainer@hochreiter.at>
Subject: Re: [PATCH] cygrunsrv --recovery <action>
Date: Wed, 06 Oct 2004 11:57:24 +0200
Lines: 28
Message-ID: <pan.2004.10.06.09.57.23.578773@hochreiter.at>
References: <42404.193.16.155.145.1096475468.squirrel@webmail.kainz.com> <20040930153543.GC29206@cygbert.vinschen.de> <Pine.GSO.4.61.0409301204000.14979@slinky.cs.nyu.edu> <20040930161545.GC26915@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 193.16.155.145
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
X-IsSubscribed: yes

On Thu, 30 Sep 2004 18:15:45 +0200, Corinna Vinschen wrote:

> On Sep 30 12:06, Igor Pechtchanski wrote:
>> On Thu, 30 Sep 2004, Corinna Vinschen wrote:
>> And when you resubmit, please use "diff -u" instead of "diff -c" -- the
>> patch is much more readable that way.
> 
> ACK.

well, are there any guidelines how to submit patches and describing
ChangeLog syntax available?

>> One immediate change I noticed was that the description parameter migrated
>> from calls to install_registry_keys to calls to install_service, but you
>> haven't provided any changes to either of those functions.  Any reason for
>> this?
> 
> That's the change from direct writing of registry keys to using
> that ChangeServiceConfig2 function.

right! but if using ChangeServiceConfig2() is prohibited, why not writing 
also directly to registry? ok, maybe there is no public documentation
available for that. what i found out is, that SCM writes into a key named
'FailureActions' of type REG_BINARY. anyone out here, who knows what to write
there? best would be the source of the sc.exe command ;-)

-- rainer



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

