From mint-bounce@lists.fishpool.fi  Sat Oct 29 19:37:39 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Message-ID: <4363B1AE.2020003@obta.uw.edu.pl>
Date: Sat, 29 Oct 2005 19:30:22 +0200
From: Konrad Kokoszkiewicz <draco@obta.uw.edu.pl>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051003)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ingo Schmidt <ich@der-ingo.de>
Cc: MiNT-Liste <mint@fishpool.com>
Subject: Re: [MiNT] Re[2]: Pexec mode 0
References: <BF876D9C.1E462%atari@bright.net> <629037063.20051028122318@der-ingo.de> <436228DA.6050304@obta.uw.edu.pl> <1641208225.20051028163355@der-ingo.de>
In-Reply-To: <1641208225.20051028163355@der-ingo.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: draco@obta.uw.edu.pl
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-0.8 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 

>>k_exec.c, sys_pwaitpid() - where the return walue for Pexec(0) comes from:
> 
>   ^^^^^^^^
>   k_exit.c

Yes.

> 
>>                 /* Strip down the return code of the child down to 8 bits.
>>                    Some misbehaving programs exceed this limit which could
>>                    cause a misinterpretation of the wait status signaled
>>                    (with possible memory faults if the signal would be
>>                    > NSIG).  */
>>                 r &= 0xffff00ff;
> 
> 
> AHA! Very interesting! A comment in the MiNT source code...
> That's going to be our reference docs in the future?
> 
> Sorry, I am sure you tried to help but your answer is not helpful at
> all like that.

I thought that you have a problem with reading C source code - you write 
something like that - so I pointed you out the place where the problem comes from.

KMK


