6342N/ACorrectly handle /usr/gnu/bin/stty sane on Solaris.
6342N/A
6342N/AThis problem has been fixed upstream.
6342N/A
6342N/ASee:
6342N/A
6342N/Ahttp://debbugs.gnu.org/cgi/bugreport.cgi?bug=23866
6342N/Ahttp://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.25-41-gdfae782
6342N/A
6342N/A--- src/stty.c.orig 2016-06-28 17:48:25.580754994 -0700
6342N/A+++ src/stty.c 2016-06-29 06:19:49.159950703 -0700
6342N/A@@ -118,9 +118,9 @@
6342N/A # define CSWTCH _POSIX_VDISABLE
6342N/A #endif
6342N/A
6342N/A-/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
6342N/A+/* SunOS >= 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
6342N/A So the default is to disable 'swtch.' */
6342N/A-#if defined __sparc__ && defined __svr4__
6342N/A+#if defined __sun
6342N/A # undef CSWTCH
6342N/A # define CSWTCH _POSIX_VDISABLE
6342N/A #endif