delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/07/10:16:11

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: Wed, 7 May 2003 10:15:58 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin's exit status / errorlevel
Message-ID: <20030507141558.GC26264@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3EB85657 DOT 2040406 AT lapo DOT it> <20030507015801 DOT GG10709 AT redhat DOT com> <3EB8B535 DOT 3030303 AT lapo DOT it>
Mime-Version: 1.0
In-Reply-To: <3EB8B535.3030303@lapo.it>
User-Agent: Mutt/1.4.1i

On Wed, May 07, 2003 at 09:26:45AM +0200, Lapo Luchini wrote:
>Christopher Faylor wrote:
>
>>On Wed, May 07, 2003 at 02:41:59AM +0200, Lapo Luchini wrote:
>> 
>>
>>>Why is cygwin's exitstatus seen by "windows" as an errorlevel 256 times 
>>>bigger?
>>>   
>>>
>>This question is answered right in the first few sentences of the main
>>cygwin web pag
>>
>I guess you meant that it "acts as a Linux emulation layer providing 
>substantial Linux API functionality" and a correct Linux API should 
>return exidcode in the high byte?
>
>I was mainly referring to the strangeness that windows errorlevel is set 
>correct but executing from Mozilla does not... anyway, I guess enigmail 
>people should continue on their "let's convert any 256 errorcode to 2 
>and assume it is cygwin's fault".

Yeah, it's cygwin's "fault" for assuming that it should be compliant
with UNIX.  While you're at it, remind everyone that it is cygwin's
fault that signals don't work the same way as on Windows, it seems to
insist on those pesky '/' characters in file names, it confusingly
treats certain files as "symbolic links", it strangely treats other
files as "unix domain sockets", and, of course, when you program using
it, it seems to contain all sorts of extraneous function calls like
open, fcntl, sigprocmask, etc.

Cygwin is just a mess that way.

cgf

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