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


View this message in rfc822 format

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 6430 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits
Date: Thu, 16 Jun 2016 19:56:48 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> The MS toolchain (to name just a case that we could expect to be used
>> from Emacs) outputs quite a few exit codes larger than 255.
>
> Any pointers to where these values are documented?

cl.exe, for instance, uses the codes in winerror.h for reporting
failures:

https://msdn.microsoft.com/en-us/library/ebh0y918.aspx

AFAIR it is a common practice among MS applications, and widely used by
Windows-only software vendors.




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.