Cross Reference: stty.c.patch
xref
: /
solaris-userland
/
components
/
coreutils
/
patches
/
stty.c.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
stty.c.patch revision 6342
6342
N/A
Correctly handle
/usr/gnu/bin/stty
sane on Solaris.
6342
N/A
6342
N/A
This problem has been fixed upstream.
6342
N/A
6342
N/A
See:
6342
N/A
6342
N/A
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23866
6342
N/A
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.25-41-gdfae782
6342
N/A
6342
N/A
---
src/stty.c.orig
2016-06-28 17:48:25.580754994 -0700
6342
N/A
+++
src/stty.c
2016-06-29 06:19:49.159950703 -0700
6342
N/A
@@ -118,9 +118,9 @@
6342
N/A
# define CSWTCH _POSIX_VDISABLE
6342
N/A
#endif
6342
N/A
6342
N/A
-/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
6342
N/A
+/* SunOS >= 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
6342
N/A
So the default is to disable 'swtch.' */
6342
N/A
-#if defined __sparc__ && defined __svr4__
6342
N/A
+#if defined __sun
6342
N/A
# undef CSWTCH
6342
N/A
# define CSWTCH _POSIX_VDISABLE
6342
N/A
#endif