aboutsummaryrefslogtreecommitdiff
path: root/patches/0015-Remove-getpass-definition.patch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 15:26:34 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 15:26:34 +0300
commit1ebccdd350189ff1b1374a58ad24843ad0fe65f2 (patch)
tree24524e9736df2cc7f22ae184a88d5da3b4b52036 /patches/0015-Remove-getpass-definition.patch
parent01e3a0e242b526ae2791de8a0947920e3c9a9ec4 (diff)
downloadotools-1ebccdd350189ff1b1374a58ad24843ad0fe65f2.tar.gz
remove patch directory
Diffstat (limited to 'patches/0015-Remove-getpass-definition.patch')
-rw-r--r--patches/0015-Remove-getpass-definition.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/patches/0015-Remove-getpass-definition.patch b/patches/0015-Remove-getpass-definition.patch
deleted file mode 100644
index f2adafd..0000000
--- a/patches/0015-Remove-getpass-definition.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From e76fda424564544bc8298fb5be7cda966451497d Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Sun, 26 Feb 2017 17:12:56 -0800
-Subject: [PATCH] Remove getpass definition
-
-It is a legacy function and musl already provides an implementation.
----
- lib/libc/gen/readpassphrase.c | 12 ++----------
- 1 file changed, 2 insertions(+), 10 deletions(-)
-
-diff --git a/lib/libc/gen/readpassphrase.c b/lib/libc/gen/readpassphrase.c
-index a50eaf003..57c6dc527 100644
---- a/lib/libc/gen/readpassphrase.c
-+++ b/lib/libc/gen/readpassphrase.c
-@@ -183,16 +183,8 @@ restart:
- }
- DEF_WEAK(readpassphrase);
-
--char *
--getpass(const char *prompt)
--{
-- static char buf[_PASSWORD_LEN + 1];
--
-- return(readpassphrase(prompt, buf, sizeof(buf), RPP_ECHO_OFF));
--}
--
--static void handler(int s)
-+static void
-+handler(int s)
- {
--
- signo[s] = 1;
- }
---
-2.12.2
-