Page MenuHome GnuPG
Authored By
maiden_taiwan
Jun 26 2019, 4:36 AM
Size
631 B
Subscribers
None

patch.txt

*** old/pinentry-tty.c 2019-06-25 22:33:27.337683126 -0400
--- new/pinentry-tty.c 2019-06-25 22:33:19.385591998 -0400
***************
*** 56,62 ****
if ((tcgetattr(fd, &o_term)) == -1)
return -1;
n_term = o_term;
! n_term.c_lflag = n_term.c_lflag & ~(ECHO|ICANON);
n_term.c_cc[VMIN] = 1;
n_term.c_cc[VTIME]= 0;
if ((tcsetattr(fd, TCSAFLUSH, &n_term)) == -1)
--- 56,62 ----
if ((tcgetattr(fd, &o_term)) == -1)
return -1;
n_term = o_term;
! n_term.c_lflag = n_term.c_lflag & ~(ECHO);
n_term.c_cc[VMIN] = 1;
n_term.c_cc[VTIME]= 0;
if ((tcsetattr(fd, TCSAFLUSH, &n_term)) == -1)

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
465686

Event Timeline