projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make generated tools RO for real
[apps/madmutt.git]
/
crypt.cpkg
diff --git
a/crypt.cpkg
b/crypt.cpkg
index
50f1eae
..
f482cdb
100644
(file)
--- a/
crypt.cpkg
+++ b/
crypt.cpkg
@@
-690,7
+690,7
@@
static void print_time(time_t t, STATE *s)
char p[STRING];
setlocale(LC_TIME, "");
char p[STRING];
setlocale(LC_TIME, "");
-#ifdef
HAVE_LANGINFO_
D_T_FMT
+#ifdef D_T_FMT
strftime(p, sizeof(p), nl_langinfo(D_T_FMT), localtime(&t));
#else
strftime(p, sizeof(p), "%c", localtime(&t));
strftime(p, sizeof(p), nl_langinfo(D_T_FMT), localtime(&t));
#else
strftime(p, sizeof(p), "%c", localtime(&t));
@@
-2680,7
+2680,7
@@
static void print_key_info (gpgme_key_t key, FILE * fp)
tt = key->subkeys->timestamp;
tm = localtime (&tt);
tt = key->subkeys->timestamp;
tm = localtime (&tt);
-#ifdef
HAVE_LANGINFO_
D_T_FMT
+#ifdef D_T_FMT
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
@@
-2692,7
+2692,7
@@
static void print_key_info (gpgme_key_t key, FILE * fp)
tt = key->subkeys->expires;
tm = localtime (&tt);
tt = key->subkeys->expires;
tm = localtime (&tt);
-#ifdef
HAVE_LANGINFO_
D_T_FMT
+#ifdef D_T_FMT
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
@@
-2803,7
+2803,7
@@
static void print_key_info (gpgme_key_t key, FILE * fp)
tt = subkey->timestamp;
tm = localtime (&tt);
tt = subkey->timestamp;
tm = localtime (&tt);
-#ifdef
HAVE_LANGINFO_
D_T_FMT
+#ifdef D_T_FMT
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
@@
-2815,7
+2815,7
@@
static void print_key_info (gpgme_key_t key, FILE * fp)
tt = subkey->expires;
tm = localtime (&tt);
tt = subkey->expires;
tm = localtime (&tt);
-#ifdef
HAVE_LANGINFO_
D_T_FMT
+#ifdef D_T_FMT
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);
strftime (shortbuf, sizeof shortbuf, nl_langinfo (D_T_FMT), tm);
#else
strftime (shortbuf, sizeof shortbuf, "%c", tm);