diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-14 15:26:34 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-14 15:26:34 +0300 |
commit | 1ebccdd350189ff1b1374a58ad24843ad0fe65f2 (patch) | |
tree | 24524e9736df2cc7f22ae184a88d5da3b4b52036 /patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch | |
parent | 01e3a0e242b526ae2791de8a0947920e3c9a9ec4 (diff) | |
download | otools-1ebccdd350189ff1b1374a58ad24843ad0fe65f2.tar.gz |
remove patch directory
Diffstat (limited to 'patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch')
-rw-r--r-- | patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch b/patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch deleted file mode 100644 index 7866090..0000000 --- a/patches/0014-readpassphrase-Support-systems-without-VSTATUS-and-T.patch +++ /dev/null @@ -1,38 +0,0 @@ -From d36036bbd959091b6442d003128342ed515af01b Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Sun, 26 Feb 2017 17:01:33 -0800 -Subject: [PATCH] readpassphrase: Support systems without VSTATUS and TCSASOFT - ---- - lib/libc/gen/readpassphrase.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/lib/libc/gen/readpassphrase.c b/lib/libc/gen/readpassphrase.c -index a1aeb342b..a50eaf003 100644 ---- a/lib/libc/gen/readpassphrase.c -+++ b/lib/libc/gen/readpassphrase.c -@@ -32,6 +32,10 @@ - #include <unistd.h> - #include <readpassphrase.h> - -+#ifndef TCSASOFT -+#define TCSASOFT 0 -+#endif -+ - static volatile sig_atomic_t signo[_NSIG]; - - static void handler(int); -@@ -81,8 +85,10 @@ restart: - memcpy(&term, &oterm, sizeof(term)); - if (!(flags & RPP_ECHO_ON)) - term.c_lflag &= ~(ECHO | ECHONL); -+#ifdef VSTATUS - if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) - term.c_cc[VSTATUS] = _POSIX_VDISABLE; -+#endif - (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); - } else { - memset(&term, 0, sizeof(term)); --- -2.12.2 - |