gpg2/gnupg-2.0.5.fixes-from-svn-20070812.diff

45 lines
1.3 KiB
Diff

# This fixes the t-gettime testcase:
--- gnupg-2.0.5/common/ChangeLog 2007-07-05 11:57:28.000000000 +0200
+++ gnupg/common/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-09 Werner Koch <wk@g10code.com>
+
+ * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
+
2007-07-05 Werner Koch <wk@g10code.com>
* t-gettime.c: New.
--- gnupg-2.0.5/common/t-gettime.c 2007-07-05 12:05:01.000000000 +0200
+++ gnupg/common/t-gettime.c 2007-08-12 18:32:51.000000000 +0200
@@ -57,7 +57,7 @@
{ NULL, 0 }
};
int idx;
- u32 val;
+ time_t val;
gnupg_isotime_t tbuf;
for (idx=0; array[idx].string; idx++)
# Looks right....:
--- gnupg-2.0.5/tools/ChangeLog 2007-07-05 18:56:24.000000000 +0200
+++ gnupg/tools/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-16 Marcus Brinkmann <marcus@g10code.de>
+
+ * gpg-connect-agent.c (main): Bail out if write fails.
+
2007-07-05 Marcus Brinkmann <marcus@g10code.de>
* symcryptrun.c (confucius_get_pass): Define orig_codeset if
--- gnupg-2.0.5/tools/gpg-connect-agent.c 2007-07-04 15:06:00.000000000 +0200
+++ gnupg/tools/gpg-connect-agent.c
@@ -464,7 +463,7 @@
if (rc)
{
log_info (_("sending line failed: %s\n"), gpg_strerror (rc) );
- continue;
+ break;
}
if (*line == '#' || !*line)
continue; /* Don't expect a response for a comment line. */