[git] Pinentry - branch, master, updated. pinentry-0.9.4-9-g6ce1d0c

by Neal H. Walfield cvs at cvs.gnupg.org
Tue Jun 23 19:57:38 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The standard pinentry collection".

The branch, master has been updated
       via  6ce1d0c0d4106c359eee65d7cf27d522d3f8b72a (commit)
      from  3ef5d07873ab917e66c299521e85cff12fbbf40c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6ce1d0c0d4106c359eee65d7cf27d522d3f8b72a
Author: Neal H. Walfield <neal at gnu.org>
Date:   Tue Jun 23 19:57:11 2015 +0200

    curses: Recognize ASCII DEL as backspace.
    
    * pinentry/pinentry-curses.c (dialog_input): Recognize ASCII DEL as
    backspace.
    
    --
    Reported-by chdiza
    GnuPG-bug-id: 2020

diff --git a/pinentry/pinentry-curses.c b/pinentry/pinentry-curses.c
index 235435a..784c770 100644
--- a/pinentry/pinentry-curses.c
+++ b/pinentry/pinentry-curses.c
@@ -705,7 +705,11 @@ dialog_input (dialog_t diag, int alt, int chr)
   switch (chr)
     {
     case KEY_BACKSPACE:
-    case 'h' - 'a' + 1: /* control-h.  */
+      /* control-h.  */
+    case 'h' - 'a' + 1:
+      /* ASCII DEL.  What Mac OS X apparently emits when the "delete"
+	 (backspace) key is pressed.  */
+    case 127:
       if (diag->pin_len > 0)
 	{
 	  diag->pin_len--;

-----------------------------------------------------------------------

Summary of changes:
 pinentry/pinentry-curses.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The standard pinentry collection
http://git.gnupg.org




More information about the Gnupg-commits mailing list