delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/19/05:13:53

Date: Thu, 19 Aug 1999 10:50:34 +0200
From: Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>,
DJGPP-WORKERS <djgpp-workers AT delorie DOT com>, peuha AT cc DOT helsinki DOT fi,
pausmith AT nortelnetworks DOT com
Subject: Re: Make 3.78 is in pretest
Message-ID: <19990819105034.E14930@crater.eth.ericsson.se>
References: <199908181226 DOT OAA24678 AT spica DOT lu DOT erisoft DOT se> <Pine DOT SUN DOT 3 DOT 91 DOT 990818170703 DOT 10490f-100000 AT is>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <Pine.SUN.3.91.990818170703.10490f-100000@is>; from Eli Zaretskii on Wed, Aug 18, 1999 at 05:13:42PM +0300
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, Aug 18, 1999 at 05:13:42PM +0300, Eli Zaretskii wrote:
> > This gives some clues on what Eli said. The exit code is _supposed_ to be
> > in the upper eigth bits in perl.
> If this is ``standard Perl'', then I'd say the DJGPP port has a bug,
> because the command that deletes a file had its status NOT shifted 8 bits
> to the left; see my description of problems with features/errors test.
>
> Laszlo, can you please comment on this?

Seems like a bug to me. The exit code is only set correctly when perl's
system() is used. In the case of backticks popen() is used by perl and
it doesn't set the exit code correctly. I've found that this affects
some other ports too. I'll fix it, and release an updated perl port
with djgpp 2.03.

Laszlo

- Raw text -


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