diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-02-03 19:54:31 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-02-03 20:03:43 +0100 |
commit | 10e221050fc3fc681e7737ee3925108993ed7eb7 (patch) | |
tree | 3b95a106cbec741ac57afccc82f89324823df8ff | |
parent | d56fb66d6f49ad6cba968150611c63f771d817c6 (diff) | |
download | newlib-10e221050fc3fc681e7737ee3925108993ed7eb7.zip newlib-10e221050fc3fc681e7737ee3925108993ed7eb7.tar.gz newlib-10e221050fc3fc681e7737ee3925108993ed7eb7.tar.bz2 |
Cygwin: document new winjitdebug option
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/release/3.5.1 | 10 | ||||
-rw-r--r-- | winsup/doc/cygwinenv.xml | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/winsup/cygwin/release/3.5.1 b/winsup/cygwin/release/3.5.1 index 7776d12..81945db 100644 --- a/winsup/cygwin/release/3.5.1 +++ b/winsup/cygwin/release/3.5.1 @@ -1,8 +1,14 @@ -Bug Fixes ---------- +Fixes: +------ - Fix exit code for non-cygwin process running in console. The bug was introduced in 3.5.0. - Make the interface names handled by if_nametoindex() and if_indextoname() consistent with that of if_nameindex(). + +- Revert error handling for non-Cygwin child processes to use Cygwin's + error mode by default. Resetting the error mode to the OS default + error mode is now possible by using the new CYGWIN environment variable + option "winjitdebug". + Addresses: https://cygwin.com/pipermail/cygwin/2024-February/255305.html diff --git a/winsup/doc/cygwinenv.xml b/winsup/doc/cygwinenv.xml index 05672c4..3c69d5e 100644 --- a/winsup/doc/cygwinenv.xml +++ b/winsup/doc/cygwinenv.xml @@ -94,6 +94,16 @@ in addition to the normal UNIX argv list. Defaults to not set.</para> </listitem> <listitem> +<para><envar>(no)winjitdebug</envar> - if set, non-Cygwin executables +started from a Cygwin process will have their error mode reset to the +system default. That means, if they don't call SetErrorMode() explicitl, +the OS will display error dialog boxes in the GUI if some fatal error +occurs. Defaults to not set, so fatal errors in a non-Cygwin child +process will just result in an error code be propagated back to the +parent process.</para> +</listitem> + +<listitem> <para><envar>winsymlinks:{lnk,native,nativestrict,sys}</envar></para> <itemizedlist mark="square"> |