1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-20 01:02:44 +02:00

Fixes for W32

This commit is contained in:
Werner Koch 2001-04-19 11:40:45 +00:00
parent 64ddc393e1
commit 397a73b685
36 changed files with 296 additions and 165 deletions

View File

@ -1,6 +1,9 @@
2001-04-17 Werner Koch <wk@gnupg.org>
* acinclude.m4 (GNUPG_CHECK_DOCBOOK_TO_TEXI): New.
(GNUPG_CHECK_TYPEDEF): Define _GNU_SOURCE because we will use it
anyway.
* configure.in: Use it here.
* configure.in (ALL_LINGUAS): Add Estonian translation by Toomas Soome.

View File

@ -46,7 +46,10 @@ Configure options for GNUPG
--disable-nls Disable NLS support (See the file ABOUT-NLS)
--enable-m-guard Enable the integrated malloc checking code.
--enable-m-guard Enable the integrated malloc checking code. Please
note that this feature does not work on all CPUs
(e.g. SunOS 5.7 on UltraSparc-2) and might give
you a Bus error.
--disable-dynload If you have problems with dynamic loading, this option
disables all dynamic loading stuff.

2
THANKS
View File

@ -32,6 +32,7 @@ David C Niemi niemi@tuxers.net
David Champion dgc@uchicago.edu
David Ellement ellement@sdd.hp.com
David Hallinan hallinan@rtd.com
David Hollenberg dhollen@ISI.EDU
David Mathog MATHOG@seqaxp.bio.caltech.edu
Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de
Dimitri dmitri@advantrix.com
@ -164,6 +165,7 @@ Tomasz Kozlowski tomek@rentec.com
Thomas Mikkelsen tbm@image.dk
Ulf Möller 3umoelle@informatik.uni-hamburg.de
Urko Lusa ulusa@euskalnet.net
Vincent P. Broman broman@spawar.navy.mil
Walter Hofmann Walter.Hofmann@physik.stud.uni-erlangen.de
Walter Koch koch@hsp.de
Wayne Chapeskie waynec@spinnaker.com

View File

@ -31,7 +31,8 @@ dnl
AC_DEFUN(GNUPG_CHECK_TYPEDEF,
[ AC_MSG_CHECKING(for $1 typedef)
AC_CACHE_VAL(gnupg_cv_typedef_$1,
[AC_TRY_COMPILE([#include <stdlib.h>
[AC_TRY_COMPILE([#define _GNU_SOURCE 1
#include <stdlib.h>
#include <sys/types.h>], [
#undef $1
int a = sizeof($1);

View File

@ -1,3 +1,7 @@
2001-04-19 Werner Koch <wk@gnupg.org>
* faq.raw: Add a note about dates displayed as ????-??-??.
2001-04-17 Werner Koch <wk@gnupg.org>
* Makefile.am (%.texi): Add rules to create .texi from .sgml.

View File

@ -56,6 +56,8 @@ ssb::1536:20:5CE086B5B5A18FF4:1998-07-07:0:::
addition to these letters, uppercase version of the letter to
denote the _usable_ capabilities of the entire key.
All dates are displayed in the format yyyy-mm-dd unless you use the option
--fixed-list-mode in which case they are dispplay as seconds since epoch.
More fields may be added later.
If field 1 has the tag "pkd", a listing looks like this:

17
doc/FAQ
View File

@ -83,8 +83,9 @@ you could search in the mailing list archive.
6.11) I get "gpg: waiting for lock ..."
6.12) Older gpg's (e.g., 1.0) have problems with keys from newer gpgs ...
6.13) With 1.0.4, I get "this cipher algorithm is deprecated ..."
6.14) I still have a problem. How do I report a bug?
6.15) Why doesn't GnuPG support X509 certificates?
6.14) Some dates are displayed as ????-??-??, why?
6.15) I still have a problem. How do I report a bug?
6.16) Why doesn't GnuPG support X509 certificates?
7. ADVANCED TOPICS
7.1) How does this whole thing work?
@ -665,7 +666,15 @@ in it - why?
"deprecated". Ignore this warning, more recent versions of gpg are
corrected.
6.14) I still have a problem. How do I report a bug?
6.14) Some dates are displayed as ????-??-??, why?
Due to constraints in most libc implementations, dates beyond
2038-01-19 can't be displayed correctly. 64 bit OSes are not
affected by this problem. To avoid printing wrong dates, GnuPG
instead prints some question marks. To see the correct value, you
can use the options --with-colons and --fixed-list-mode.
6.15) I still have a problem. How do I report a bug?
Are you sure that it's not been mentioned somewhere on the mailing
lists? Did you have a look at the bug list (You'll find a link to
@ -674,7 +683,7 @@ in it - why?
list. Otherwise, use the GUUG bug tracking system
http://bugs.guug.de/Reporting.html.
6.15) Why doesn't GnuPG support X509 certificates?
6.16) Why doesn't GnuPG support X509 certificates?
GnuPG, first and foremost, is an implementation of the OpenPGP
standard (RFC 2440), which is a competing infrastructure, different

View File

@ -632,6 +632,14 @@ in it - why?
"deprecated". Ignore this warning, more recent versions of gpg are
corrected.
<Q> Some dates are displayed as ????-??-??, why?
Due to constraints in most libc implementations, dates beyond
2038-01-19 can't be displayed correctly. 64 bit OSes are not
affected by this problem. To avoid printing wrong dates, GnuPG
instead prints some question marks. To see the correct value, you
can use the options --with-colons and --fixed-list-mode.
<Q> I still have a problem. How do I report a bug?
Are you sure that it's not been mentioned somewhere on the mailing

View File

@ -1377,7 +1377,8 @@ in future versions.
<varlistentry>
<term>--fixed-list-mode</term>
<listitem><para>
Do not merge user ID and primary key in --with-colon listing mode.
Do not merge user ID and primary key in --with-colon listing mode and
print all timestamps as seconds since 1970-01-01.
</para></listitem></varlistentry>
<varlistentry>

View File

@ -1,3 +1,23 @@
2001-04-19 Werner Koch <wk@gnupg.org>
* keyid.c (mk_datestr): New. Handles negative times. we must do
this because Windoze segvs on negative times passed to gmtime().
Changed all datestr_from function to use this one.
* keyid.c, keyid.h (colon_strtime): New. To implement the
fixed-list-mode.
(colon_datestr_from_pk): New.
(colon_datestr_from_sk): New.
(colon_datestr_from_sig): New.
* keylist.c (list_keyblock_colon): Use these functions here.
* mainproc.c (list_node): Ditto.
2001-04-18 Werner Koch <wk@gnupg.org>
* openfile.c (open_sigfile): Fixed the handling of ".sign".
* mainproc.c (proc_tree): Use iobuf_get_real_fname.
Both are by Vincent Broman.
2001-04-14 Werner Koch <wk@gnupg.org>
* getkey.c (fixup_uidnode): Removed check for !sig which is

View File

@ -185,6 +185,12 @@ const char *datestr_from_sk( PKT_secret_key *sk );
const char *datestr_from_sig( PKT_signature *sig );
const char *expirestr_from_pk( PKT_public_key *pk );
const char *expirestr_from_sk( PKT_secret_key *sk );
const char *colon_strtime (u32 t);
const char *colon_datestr_from_pk (PKT_public_key *pk);
const char *colon_datestr_from_sk (PKT_secret_key *sk);
const char *colon_datestr_from_sig (PKT_signature *sig);
byte *fingerprint_from_sk( PKT_secret_key *sk, byte *buf, size_t *ret_len );
byte *fingerprint_from_pk( PKT_public_key *pk, byte *buf, size_t *ret_len );

View File

@ -260,6 +260,21 @@ nbits_from_sk( PKT_secret_key *sk )
return pubkey_nbits( sk->pubkey_algo, sk->skey );
}
static const char *
mk_datestr (char *buffer, time_t atime)
{
struct tm *tp;
if ( atime < 0 ) /* 32 bit time_t and after 2038-01-19 */
strcpy (buffer, "????-??-??"); /* mark this as invalid */
else {
tp = gmtime (&atime);
sprintf (buffer,"%04d-%02d-%02d",
1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
}
return buffer;
}
/****************
* return a string with the creation date of the pk
* Note: this is alloced in a static buffer.
@ -269,36 +284,27 @@ const char *
datestr_from_pk( PKT_public_key *pk )
{
static char buffer[11+5];
struct tm *tp;
time_t atime = pk->timestamp;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d", 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
return buffer;
return mk_datestr (buffer, atime);
}
const char *
datestr_from_sk( PKT_secret_key *sk )
{
static char buffer[11+5];
struct tm *tp;
time_t atime = sk->timestamp;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d", 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
return buffer;
return mk_datestr (buffer, atime);
}
const char *
datestr_from_sig( PKT_signature *sig )
{
static char buffer[11+5];
struct tm *tp;
time_t atime = sig->timestamp;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d", 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
return buffer;
return mk_datestr (buffer, atime);
}
@ -306,32 +312,73 @@ const char *
expirestr_from_pk( PKT_public_key *pk )
{
static char buffer[11+5];
struct tm *tp;
time_t atime;
if( !pk->expiredate )
return _("never ");
atime = pk->expiredate;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d", 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
return buffer;
return mk_datestr (buffer, atime);
}
const char *
expirestr_from_sk( PKT_secret_key *sk )
{
static char buffer[11+5];
struct tm *tp;
time_t atime;
if( !sk->expiredate )
return "never ";
atime = sk->expiredate;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d", 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
return buffer;
return mk_datestr (buffer, atime);
}
const char *
colon_strtime (u32 t)
{
if (!t)
return "";
if (opt.fixed_list_mode) {
static char buf[15];
sprintf (buf, "%lu", (ulong)t);
return buf;
}
return strtimestamp(t);
}
const char *
colon_datestr_from_pk (PKT_public_key *pk)
{
if (opt.fixed_list_mode) {
static char buf[15];
sprintf (buf, "%lu", (ulong)pk->timestamp);
return buf;
}
return datestr_from_pk (pk);
}
const char *
colon_datestr_from_sk (PKT_secret_key *sk)
{
if (opt.fixed_list_mode) {
static char buf[15];
sprintf (buf, "%lu", (ulong)sk->timestamp);
return buf;
}
return datestr_from_sk (sk);
}
const char *
colon_datestr_from_sig (PKT_signature *sig)
{
if (opt.fixed_list_mode) {
static char buf[15];
sprintf (buf, "%lu", (ulong)sig->timestamp);
return buf;
}
return datestr_from_sig (sig);
}
/**************** .
* Return a byte array with the fingerprint for the given PK/SK

View File

@ -399,8 +399,8 @@ list_keyblock_colon( KBNODE keyblock, int secret )
nbits_from_sk( sk ),
sk->pubkey_algo,
(ulong)keyid[0],(ulong)keyid[1],
datestr_from_sk( sk ),
sk->expiredate? strtimestamp(sk->expiredate):""
colon_datestr_from_sk( sk ),
colon_strtime (sk->expiredate)
/* fixme: add LID here */ );
}
else {
@ -427,8 +427,8 @@ list_keyblock_colon( KBNODE keyblock, int secret )
nbits_from_pk( pk ),
pk->pubkey_algo,
(ulong)keyid[0],(ulong)keyid[1],
datestr_from_pk( pk ),
pk->expiredate? strtimestamp(pk->expiredate):"" );
colon_datestr_from_pk( pk ),
colon_strtime (pk->expiredate) );
if( pk->local_id )
printf("%lu", pk->local_id );
putchar(':');
@ -529,8 +529,8 @@ list_keyblock_colon( KBNODE keyblock, int secret )
nbits_from_pk( pk2 ),
pk2->pubkey_algo,
(ulong)keyid2[0],(ulong)keyid2[1],
datestr_from_pk( pk2 ),
pk2->expiredate? strtimestamp(pk2->expiredate):""
colon_datestr_from_pk( pk2 ),
colon_strtime (pk2->expiredate)
/* fixme: add LID and ownertrust here */
);
if( pk->local_id ) /* use the local_id of the main key??? */
@ -565,8 +565,8 @@ list_keyblock_colon( KBNODE keyblock, int secret )
nbits_from_sk( sk2 ),
sk2->pubkey_algo,
(ulong)keyid2[0],(ulong)keyid2[1],
datestr_from_sk( sk2 ),
sk2->expiredate? strtimestamp(sk2->expiredate):""
colon_datestr_from_sk( sk2 ),
colon_strtime (sk2->expiredate)
/* fixme: add LID */ );
print_capabilities (NULL, sk2, NULL);
putchar ('\n');
@ -627,7 +627,7 @@ list_keyblock_colon( KBNODE keyblock, int secret )
putchar(sigrc);
printf("::%d:%08lX%08lX:%s::::", sig->pubkey_algo,
(ulong)sig->keyid[0],
(ulong)sig->keyid[1], datestr_from_sig(sig));
(ulong)sig->keyid[1], colon_datestr_from_sig(sig));
if( sigrc == '%' )
printf("[%s] ", g10_errstr(rc) );
else if( sigrc == '?' )

View File

@ -781,8 +781,8 @@ list_node( CTX c, KBNODE node )
nbits_from_pk( pk ),
pk->pubkey_algo,
(ulong)keyid[0],(ulong)keyid[1],
datestr_from_pk( pk ),
pk->expiredate? strtimestamp(pk->expiredate):"" );
colon_datestr_from_pk( pk ),
colon_strtime (pk->expiredate) );
if( c->local_id )
printf("%lu", c->local_id );
putchar(':');
@ -868,8 +868,8 @@ list_node( CTX c, KBNODE node )
nbits_from_sk( sk ),
sk->pubkey_algo,
(ulong)keyid[0],(ulong)keyid[1],
datestr_from_sk( sk ),
sk->expiredate? strtimestamp(sk->expiredate):""
colon_datestr_from_sk( sk ),
colon_strtime (sk->expiredate)
/* fixme: add LID */ );
}
else
@ -966,7 +966,7 @@ list_node( CTX c, KBNODE node )
putchar(sigrc);
printf("::%d:%08lX%08lX:%s::::", sig->pubkey_algo,
(ulong)sig->keyid[0],
(ulong)sig->keyid[1], datestr_from_sig(sig));
(ulong)sig->keyid[1], colon_datestr_from_sig(sig));
}
else
printf("%c %08lX %s ",
@ -1415,7 +1415,7 @@ proc_tree( CTX c, KBNODE node )
}
else {
rc = ask_for_detached_datafile( c->mfx.md, c->mfx.md2,
iobuf_get_fname(c->iobuf),
iobuf_get_real_fname(c->iobuf),
n1? (n1->pkt->pkt.onepass_sig->sig_class == 0x01):0 );
}
if( rc ) {
@ -1493,7 +1493,7 @@ proc_tree( CTX c, KBNODE node )
}
else {
rc = ask_for_detached_datafile( c->mfx.md, c->mfx.md2,
iobuf_get_fname(c->iobuf),
iobuf_get_real_fname(c->iobuf),
(sig->sig_class == 0x01) );
}
if( rc ) {

View File

@ -267,7 +267,7 @@ open_sigfile( const char *iname )
|| !strcmp(iname + len - 4, ".asc")) ) {
char *buf;
buf = m_strdup(iname);
buf[len-4] = 0 ;
buf[len-(buf[len-1]=='n'?5:4)] = 0 ;
a = iobuf_open( buf );
if( a && opt.verbose )
log_info(_("assuming signed data in `%s'\n"), buf );

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.0h\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-03-07 22:51+01:00\n"
"Last-Translator: Birger Langkjer <birger.langkjer@image.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
@ -27,27 +27,27 @@ msgstr "operation er ikke mulig uden beskyttet hukommelse indl
msgid "(you may have used the wrong program for this task)\n"
msgstr "(du kan have brugt et forkert program til denne opgave)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ja"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "jJ"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "n"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "afslut"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "aA"

View File

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg-1.0.4\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2001-04-16 14:20+0200\n"
"Last-Translator: Walter Koch <koch@hsp.de>\n"
"Language-Team: German <de@li.org>\n"
@ -27,27 +27,27 @@ msgid "(you may have used the wrong program for this task)\n"
msgstr ""
"(möglicherweise haben Sie das falsche Programm für diese Aufgabe benutzt)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ja"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "jJyY"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "nein"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "quit"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.1e\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-08-16 23:19+01:00\n"
"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
"Language-Team: Esperanto <eo@li.org>\n"
@ -25,27 +25,27 @@ msgstr "operacio ne eblas sen sekura memoro kun komenca valoro\n"
msgid "(you may have used the wrong program for this task)\n"
msgstr "(eble vi uzis la maløustan programon por æi tiu tasko)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "jes"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "jJ"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "ne"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "fini"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "fF"

View File

@ -7,7 +7,7 @@
# GPG version: 1.0.0
msgid ""
msgstr ""
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 1999-10-27 06:35+0200\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Date: 1998-11-13 10:49:25+0100\n"
@ -34,27 +34,27 @@ msgstr "operaci
msgid "(you may have used the wrong program for this task)\n"
msgstr "(es posible que haya usado el programa incorrecto para esta tarea)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "sí"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "sS"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr ""
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr ""
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr ""
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr ""

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.4\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2001-01-04 12:01+02:00\n"
"Last-Translator: Toomas Soome <tsoome@ut.ee>\n"
"Language-Team: Estonian <et@li.org>\n"
@ -25,27 +25,27 @@ msgstr "initsialiseerimata turvalise m
msgid "(you may have used the wrong program for this task)\n"
msgstr "(te kasutasite vahest selle töö jaoks valet programmi)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "jah"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "jJ"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "ei"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "eE"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "välju"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "vV"

View File

@ -10,7 +10,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.1h\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-06-28 18:41+02:00\n"
"Last-Translator: Gaël Quéri <gqueri@mail.dotcom.fr>\n"
"Language-Team: French <traduc@traduc.org>\n"
@ -32,27 +32,27 @@ msgstr ""
msgid "(you may have used the wrong program for this task)\n"
msgstr "(vous avez peut-être utilisé un programme non adapté à cette fin)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "oui"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "oO"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "non"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "quitter"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: GNU Privacy Guard 1.0.1\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-02-06 18:04+07:00\n"
"Last-Translator: Tedi Heriyanto <tedi-h@usa.net>\n"
"Language-Team: Indonesia <id@li.org>\n"
@ -25,27 +25,27 @@ msgstr "operasi tidak mungkin tanpa menginisialisasi memori yang aman\n"
msgid "(you may have used the wrong program for this task)\n"
msgstr "(anda mungkin menggunakan program yang salah untuk tugas ini)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ya"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "yY"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "tidak"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "tT"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "keluar"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "kK"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg-1.0.0h\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 1999-12-08 15:51+02:00\n"
"Last-Translator: Marco d'Itri <md@linux.it>\n"
"Language-Team: Italian <it@li.org>\n"
@ -25,27 +25,27 @@ msgstr "l'operazione non
msgid "(you may have used the wrong program for this task)\n"
msgstr "(potresti avere usato il programma sbagliato per questa funzione)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "sì"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "sS"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "no"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "quit"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.4\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-10-19 23:08+09:00\n"
"Last-Translator: IIDA Yosiaki <y-iida@secom.co.jp>\n"
"Language-Team: Japanese <ja@li.org>\n"
@ -27,27 +27,27 @@ msgstr "
msgid "(you may have used the wrong program for this task)\n"
msgstr "(この目的には誤ったプログラムを用いたのでしょう)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "yes"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "yY"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "no"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "quit"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.0h\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-02-20 21:30+01:00\n"
"Last-Translator: Ivo Timmermans <itimmermans@bigfoot.com>\n"
"Language-Team: Dutch <nl@li.org>\n"
@ -25,27 +25,27 @@ msgstr "bewerking is niet mogelijk zonder initialisatie van veilig geheugen\n"
msgid "(you may have used the wrong program for this task)\n"
msgstr "(misschien heb je hiervoor het verkeerde programma gebruikt)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ja"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "yYjJ"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "nee"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "einde"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQeE"

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg-1.0.4\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-10-18 22:54+02:00\n"
"Last-Translator: Janusz A. Urbanowicz <alex@bofh.net.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
@ -35,27 +35,27 @@ msgstr "operacja niemo
msgid "(you may have used the wrong program for this task)\n"
msgstr "(prawdopodobnie u¿ywany program jest niew³a¶ciwy dlatego zadania)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "tak"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "tT"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "nie"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "wyj¶cie"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "wW"

View File

@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Date: 1998-11-20 23:46:36-0200\n"
"From: Thiago Jung Bauermann <jungmann@usa.net>\n"
@ -29,28 +29,28 @@ msgstr "a opera
msgid "(you may have used the wrong program for this task)\n"
msgstr "(você pode ter usado o programa errado para esta tarefa)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "sim"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "sS"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "não"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
# INICIO MENU
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "sair"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2001-04-08 16:28+00:00\n"
"Last-Translator: Pedro Morais <morais@kde.org>\n"
"Language-Team: pt <morais@kde.org>\n"
@ -28,27 +28,27 @@ msgstr "a opera
msgid "(you may have used the wrong program for this task)\n"
msgstr "(você pode ter usado o programa errado para esta tarefa)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "sim"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "sS"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "não"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "sair"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "qQ"

View File

@ -9,7 +9,7 @@
# QingLong <qinglong@Bolizm> (couldn't send an email to let you know)
msgid ""
msgstr ""
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"Content-Type: text/plain; charset=\n"
"Date: 1998-01-26 22:08:36+0100\n"
"From: Gregory Steuck <steuck@iname.com>\n"
@ -36,27 +36,27 @@ msgstr ""
msgid "(you may have used the wrong program for this task)\n"
msgstr ""
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ÄÁ(y)"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "yY"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr ""
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr ""
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "×ÙÈÏÄ"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr ""

View File

@ -13,7 +13,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg 1.0.1e\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-04-23 16:43+02:00\n"
"Last-Translator: Daniel Resare <daniel@resare.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
@ -33,27 +33,27 @@ msgstr "operationen
msgid "(you may have used the wrong program for this task)\n"
msgstr "(du kan ha använt fel program för denna uppgift)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "ja"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "jJ"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "nej"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "nN"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "avsluta"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "aA"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gnupg-1.0.4\n"
"POT-Creation-Date: 2001-04-17 11:40+0200\n"
"POT-Creation-Date: 2001-04-19 12:04+0200\n"
"PO-Revision-Date: 2000-11-01 05:20+300\n"
"Last-Translator: Nilgün Belma Bugüner <nilgun@technologist.com>\n"
"Language-Team: Turkish <tr@li.org>\n"
@ -25,27 +25,27 @@ msgstr "g
msgid "(you may have used the wrong program for this task)\n"
msgstr "(bu görev için yanlýþ program kullanmýþ olabilirsiniz)\n"
#: util/miscutil.c:277 util/miscutil.c:306
#: util/miscutil.c:287 util/miscutil.c:316
msgid "yes"
msgstr "evet"
#: util/miscutil.c:278 util/miscutil.c:309
#: util/miscutil.c:288 util/miscutil.c:319
msgid "yY"
msgstr "eE"
#: util/miscutil.c:279 util/miscutil.c:307
#: util/miscutil.c:289 util/miscutil.c:317
msgid "no"
msgstr "hayýr"
#: util/miscutil.c:280 util/miscutil.c:310
#: util/miscutil.c:290 util/miscutil.c:320
msgid "nN"
msgstr "yY"
#: g10/keyedit.c:581 util/miscutil.c:308
#: g10/keyedit.c:581 util/miscutil.c:318
msgid "quit"
msgstr "çýkýþ"
#: util/miscutil.c:311
#: util/miscutil.c:321
msgid "qQ"
msgstr "çÇ"

View File

@ -1,3 +1,7 @@
2001-04-19 Werner Koch <wk@gnupg.org>
* autogen.sh: Add VPATH build support for option --build-w32.
2001-03-12 Werner Koch <wk@gnupg.org>
* config.guess, config.sub: Replaced with the current GNU CVS ones.

View File

@ -10,20 +10,21 @@ aclocal_vers=1.4
DIE=no
if test "$1" = "--build-w32"; then
tsdir=$(cd `dirname $0`; cd ..; pwd)
shift
target=i386--mingw32
if [ ! -f scripts/config.guess ]; then
echo "scripts/config.guess not found" >&2
if [ ! -f $tsdir/scripts/config.guess ]; then
echo "$tsdir/scripts/config.guess not found" >&2
exit 1
fi
host=`scripts/config.guess`
host=`$tsdir/scripts/config.guess`
if ! mingw32 --version >/dev/null; then
echo "We need at least version 0.3 of MingW32/CPD" >&2
exit 1
fi
if [ -f config.h ]; then
if [ -f "$tsdir/config.h" ]; then
if grep HAVE_DOSISH_SYSTEM config.h | grep undef >/dev/null; then
echo "Pease run a 'make distclean' first" >&2
exit 1
@ -53,7 +54,7 @@ if test "$1" = "--build-w32"; then
fi
[ $DIE = yes ] && exit 1
./configure --host=${host} --target=${target} \
$tsdir/configure --host=${host} --target=${target} \
${disable_foo_tests} $*
exit $?
fi

View File

@ -1,3 +1,9 @@
2001-04-19 Werner Koch <wk@gnupg.org>
* miscutil.c (asctimestamp): Handle negative times. We must do
this because Windoze segvs on negative times passed to gmtime().
(strtimestamp): Ditto.
2001-04-14 Werner Koch <wk@gnupg.org>
* strgutil.c (utf8_to_native): Fixed a segv. Thanks to Keith Clayton.

View File

@ -42,6 +42,10 @@
#define MAGIC_SEC_BYTE 0xcc
#define MAGIC_END_BYTE 0xaa
/* This is a very crude alignment check which does not work on all CPUs
* IIRC, I once introduced it for testing on an Alpha. We should better
* replace this guard stuff with one provided by a modern malloc library
*/
#if SIZEOF_UNSIGNED_LONG == 8
#define EXTRA_ALIGN 4
#else

View File

@ -124,10 +124,15 @@ strtimestamp( u32 stamp )
static char buffer[11+5];
struct tm *tp;
time_t atime = stamp;
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d",
1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
if (atime < 0) {
strcpy (buffer, "????-??-??");
}
else {
tp = gmtime( &atime );
sprintf(buffer,"%04d-%02d-%02d",
1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday );
}
return buffer;
}
@ -144,6 +149,11 @@ asctimestamp( u32 stamp )
struct tm *tp;
time_t atime = stamp;
if (atime < 0) {
strcpy (buffer, "????-??-??");
return buffer;
}
tp = localtime( &atime );
#ifdef HAVE_STRFTIME
#if defined(HAVE_NL_LANGINFO)