gnupg/g10 (ChangeLog g10.c)
cvs user dshaw
cvs at cvs.gnupg.org
Thu Oct 21 03:07:32 CEST 2004
Date: Thursday, October 21, 2004 @ 03:10:49
Author: dshaw
Path: /cvs/gnupg/gnupg/g10
Modified: ChangeLog g10.c
* g10.c (parse_list_options): Fix non-constant initializer so we can build
with C89.
-----------+
ChangeLog | 15 +++++----------
g10.c | 7 ++++++-
2 files changed, 11 insertions(+), 11 deletions(-)
Index: gnupg/g10/ChangeLog
diff -u gnupg/g10/ChangeLog:1.624 gnupg/g10/ChangeLog:1.625
--- gnupg/g10/ChangeLog:1.624 Wed Oct 20 11:39:56 2004
+++ gnupg/g10/ChangeLog Thu Oct 21 03:10:48 2004
@@ -1,16 +1,11 @@
-2004-10-20 Werner Koch <wk at g10code.com>
+2004-10-20 David Shaw <dshaw at jabberwocky.com>
- * apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.
- (pcsc_get_status): Implemented.
- (reset_pcsc_reader): Implemented.
- (open_pcsc_reader): Succeed even with no card inserted.
- (open_ccid_reader): Set LAST_STATUS.
+ * g10.c (parse_list_options): Fix non-constant initializer so we
+ can build with C89.
- * iso7816.c (iso7816_select_application): Always use 0 for P1.
+2004-10-17 David Shaw <dshaw at jabberwocky.com>
-2004-10-18 Werner Koch <wk at g10code.com>
-
- * ccid-driver.c (ccid_get_atr): Reset T=1 state info.
+ * keylist.c (print_one_subpacket): The flags field should be hex.
2004-10-17 Werner Koch <wk at g10code.com>
Index: gnupg/g10/g10.c
diff -u gnupg/g10/g10.c:1.285 gnupg/g10/g10.c:1.286
--- gnupg/g10/g10.c:1.285 Wed Oct 13 20:10:06 2004
+++ gnupg/g10/g10.c Thu Oct 21 03:10:49 2004
@@ -1463,10 +1463,15 @@
{"show-unusable-subkeys",LIST_SHOW_UNUSABLE_SUBKEYS,NULL},
{"show-keyring",LIST_SHOW_KEYRING,NULL},
{"show-sig-expire",LIST_SHOW_SIG_EXPIRE,NULL},
- {"show-sig-subpackets",LIST_SHOW_SIG_SUBPACKETS,&subpackets},
+ {"show-sig-subpackets",LIST_SHOW_SIG_SUBPACKETS,NULL},
{NULL,0,NULL}
};
+ /* C99 allows for non-constant initializers, but we'd like to
+ compile everywhere, so fill in the show-sig-subpackets argument
+ here. */
+ lopts[12].value=&subpackets;
+
if(parse_options(str,&opt.list_options,lopts,1))
{
if(opt.list_options&LIST_SHOW_SIG_SUBPACKETS)
More information about the Gnupg-commits
mailing list