delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/13/05:13:39

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 13 Sep 2003 11:13:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: shutdown-1.3-1 patch for Win9x
Message-ID: <20030913091329.GP9981@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <bjua2d$csl$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <bjua2d$csl$1@sea.gmane.org>
User-Agent: Mutt/1.4.1i

On Sat, Sep 13, 2003 at 05:30:55AM +0000, Mark Ord wrote:
> Although shutdown.exe works fine on NT (XP at least), it's not possible to
> shutdown a system to a power off state with shutdown.exe on Win9x
> (Win98SE tested).
> 
> It's been my experience (on Win98SE anyway) that it's directly related
> to the ShutdownEx() API. Despite what the API docs say, EWX_POWEROFF
> actually performs a log off, while EWX_SHUTDOWN performs a power off
> shutdown, on Win9x. This behavour seems to hold true even in a non
> cygwin application.
> 
> The following patch to shutdown-1.3-1 makes 'shutdown -s' work as
> expected (power off, instead of log off) on Win9x, tested on Win98SE.

Thanks for the patch.  I've included it slightly different formatted.
I've uploaded a new version 1.4-1 with this patch to cygwin.com.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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