delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/27/00:57:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <4221625B.8D133A7D@dessent.net>
Date: Sat, 26 Feb 2005 22:02:03 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: regtool - 1.8 - Core dump
References: <20050227054557 DOT 45931 DOT qmail AT web51102 DOT mail DOT yahoo DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Alexander Joerg Herrmann wrote:

> regtool dosn't dpend on the Cygwin environment as it
> can also run from the Windows command line without any
> Cygwin souroundings.
> What I was mentioning is that
> rgetool -K
> causes a core fault and something similar under
> windows because the argument is broken. I know that
> the argument is missing and so should regtool. It
> should produce a usage message insteed of a crash imo.

False.  regtool is a cygwin app and depends on the cygwin DLL:

$ cygcheck regtool
Found: C:\cygwin\bin\regtool.exe
C:/cygwin/bin/regtool.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINXP\System32\ADVAPI32.DLL
      C:\WINXP\System32\ntdll.dll
      C:\WINXP\System32\KERNEL32.dll
      C:\WINXP\System32\RPCRT4.dll

Just because you can run it from CMD.EXE doesn't mean it's not a Cygwin
app.  You can run any Cygwin app from CMD.EXE (aka "Command Prompt") as
long as cygwin1.dll and any other necessary DLLs are in your path.

The program should not core dump on invalid arguments.  That I agree
with, and it's a bug that should be fixed.

Brian

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