GNU bug report logs - #6430
Emacs WINDOWS truncates exit status of processes to 8 bits

Previous Next

Package: emacs;

Reported by: macross84 <at> ozu.es

Date: Tue, 15 Jun 2010 17:29:01 UTC

Severity: wishlist

Tags: wontfix

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #74 received at 6430 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 6430 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#6430: Emacs WINDOWS truncates exit status of processes to 8
 bits
Date: Thu, 16 Jun 2016 22:05:08 +0300
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Cc: npostavs <at> users.sourceforge.net,  6430 <at> debbugs.gnu.org
> Date: Thu, 16 Jun 2016 19:56:48 +0200
> 
> cl.exe, for instance, uses the codes in winerror.h for reporting
> failures:
> 
> https://msdn.microsoft.com/en-us/library/ebh0y918.aspx

Those are just the normal error codes in disguise, and the ones
relevant to cl.exe are all below 255 (when the top 2 bits are
stripped).  So I see no problem here with the 8-bit limitation of the
status we report.




This bug report was last modified 4 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.