[svn] GnuPG - r4684 - in trunk: doc g10
svn author wk
cvs at cvs.gnupg.org
Wed Jan 30 14:26:34 CET 2008
Author: wk
Date: 2008-01-30 14:26:32 +0100 (Wed, 30 Jan 2008)
New Revision: 4684
Modified:
trunk/doc/ChangeLog
trunk/doc/DETAILS
trunk/doc/gpg-agent.texi
trunk/doc/qualified.txt
trunk/g10/ChangeLog
trunk/g10/tdbio.c
Log:
W32 fix for trustdb creation.
Modified: trunk/doc/ChangeLog
===================================================================
--- trunk/doc/ChangeLog 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/doc/ChangeLog 2008-01-30 13:26:32 UTC (rev 4684)
@@ -1,3 +1,9 @@
+2008-01-29 Justin Pryzby <jpryzby+d at quoininc.com> (wk)
+
+ * gpg-agent.texi (Agent Options): Grammar fixes
+
+ * qualified.txt: Spelling fixes.
+
2008-01-28 Justin Pryzby <jpryzby+d at quoininc.com> (wk)
* gpg-agent.texi, yat2m.c, scdaemon.texi, qualified.txt
@@ -559,7 +565,7 @@
* Makefile.am, gpgsm.texi: New.
- Copyright 2002, 2004, 2005 Free Software Foundation, Inc.
+ Copyright 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
Modified: trunk/doc/DETAILS
===================================================================
--- trunk/doc/DETAILS 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/doc/DETAILS 2008-01-30 13:26:32 UTC (rev 4684)
@@ -319,8 +319,8 @@
indicate how trustworthy the signature is. The error token
values are currently only emitted by gpgsm. VALIDATION_MODEL
describes the algorithm used to check the validity of the key.
- The default is the standard gpg Web of Trust model respective
- the standard X.509 model. The defined values are
+ The defaults are the standard Web of Trust model for gpg and the
+ the standard X.509 model for gpgsm. The defined values are
"pgp" for the standard PGP WoT.
"shell" for the standard X.509 model.
Modified: trunk/doc/gpg-agent.texi
===================================================================
--- trunk/doc/gpg-agent.texi 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/doc/gpg-agent.texi 2008-01-30 13:26:32 UTC (rev 4684)
@@ -268,9 +268,9 @@
@opindex c
@opindex csh
Format the info output in daemon mode for use with the standard Bourne
-shell respective the C-shell. The default is to guess it based on the
-environment variable @code{SHELL} which is in almost all cases
-correct.
+shell or the C-shell respectively. The default is to guess it based on
+the environment variable @code{SHELL} which is correct in almost all
+cases.
@item --write-env-file @var{file}
@opindex write-env-file
@@ -436,8 +436,8 @@
@itemx --keep-display
@opindex keep-tty
@opindex keep-display
-Ignore requests to change the current @code{tty} respective the X
-window system's @code{DISPLAY} variable. This is useful to lock the
+Ignore requests to change the current @code{tty} or X window system's
+ at code{DISPLAY} variable respectively. This is useful to lock the
pinentry to pop up at the @code{tty} or display you started the agent.
@anchor{option --enable-ssh-support}
Modified: trunk/doc/qualified.txt
===================================================================
--- trunk/doc/qualified.txt 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/doc/qualified.txt 2008-01-30 13:26:32 UTC (rev 4684)
@@ -4,9 +4,9 @@
# signatures are. Comments like this one and empty lines are allowed
# Lines do have a length limit but this is not a serious limitation as
# the format of the entries is fixed and checked by gpgsm: A
-# non-comment line starts with optional white spaces, followed by
-# exactly 40 hex character, white space and a lowercased 2 letter
-# country code. Additional data delimited with by a white space is
+# non-comment line starts with optional whitespaces, followed by
+# exactly 40 hex character, whitespace and a lowercased 2 letter
+# country code. Additional data delimited with by a whitespace is
# current ignored but might late be used for other purposes.
#
# Note: The subversion copy of this file carries a gpg:signature
Property changes on: trunk/doc/qualified.txt
___________________________________________________________________
Name: gpg:signature
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
iEYEABECAAYFAkeFz40ACgkQzT/NXj1SwoL5QgCaAqT7klYFPeAiYY8AtP9NCWuz
6eIAn0BwaIEr/+CnuY8qNEctIMsNv2/8
=G3f1
-----END PGP SIGNATURE-----
+ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
iEYEABECAAYFAkefYsgACgkQzT/NXj1SwoI+/wCeNYbFKlAPqVP9AZ+GBzsANnLv
18YAn1KYjowfJ4ZMFYFNlcr8jdF185oM
=gSzo
-----END PGP SIGNATURE-----
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/g10/ChangeLog 2008-01-30 13:26:32 UTC (rev 4684)
@@ -1,3 +1,7 @@
+2008-01-30 Werner Koch <wk at g10code.com>
+
+ * tdbio.c (tdbio_set_dbname): Also test for forward slash.
+
2008-01-29 Werner Koch <wk at g10code.com>
* keydb.c (maybe_create_keyring): Take care of a missing slash.
Modified: trunk/g10/tdbio.c
===================================================================
--- trunk/g10/tdbio.c 2008-01-29 16:04:57 UTC (rev 4683)
+++ trunk/g10/tdbio.c 2008-01-30 13:26:32 UTC (rev 4684)
@@ -505,14 +505,25 @@
int rc;
char *p = strrchr( fname, DIRSEP_C );
mode_t oldmask;
+ int save_slash;
- assert(p);
+#if HAVE_W32_SYSTEM
+ {
+ /* Windows may either have a slash or a backslash. Take
+ care of it. */
+ char *pp = strrchr (fname, '/');
+ if (!p || pp > p)
+ p = pp;
+ }
+#endif /*HAVE_W32_SYSTEM*/
+ assert (p);
+ save_slash = *p;
*p = 0;
if( access( fname, F_OK ) ) {
try_make_homedir( fname );
log_fatal( _("%s: directory does not exist!\n"), fname );
}
- *p = DIRSEP_C;
+ *p = save_slash;
xfree(db_name);
db_name = fname;
More information about the Gnupg-commits
mailing list