[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits
From: |
Eli Zaretskii |
Subject: |
bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits |
Date: |
Wed, 15 Jun 2016 18:40:07 +0300 |
> From: Óscar Fuentes <ofv@wanadoo.es>
> Cc: npostavs@users.sourceforge.net, macross84@ozu.es, 6430@debbugs.gnu.org
> Date: Wed, 15 Jun 2016 17:15:54 +0200
>
> > GetLastError has nothing to do with this, because it's not an API that
> > fails, it's a program that exits with some arbitrary exit code.
>
> if( ! CreateProcess(....) ) {
> DWORD ec = GetLastError();
> // do some cleanup
> ExitProcess(ec);
> }
That's not how Emacs does that, see waitpid and its callers.
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Noam Postavsky, 2016/06/13
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/14
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/14
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Noam Postavsky, 2016/06/14
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/14
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits,
Eli Zaretskii <=
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/15
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Óscar Fuentes, 2016/06/16
- bug#6430: Emacs WINDOWS truncates exit status of processes to 8 bits, Eli Zaretskii, 2016/06/16