[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/src ChangeLog sign.c verify.c
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/src ChangeLog sign.c verify.c |
Date: |
Wed, 17 May 2006 18:17:39 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Branch:
Changes by: Derek Robert Price <address@hidden> 06/05/17 18:17:39
Modified files:
src : ChangeLog sign.c verify.c
Log message:
* sign.c (sign_usage): Correct -rTAG synopsis.
* verify.c: Correct some header comment blocks.
(iget_verify_checkouts): Return VERIFY_OFF, not false.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/ChangeLog.diff?tr1=1.3412&tr2=1.3413&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/sign.c.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/verify.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: ccvs/src/ChangeLog
diff -u ccvs/src/ChangeLog:1.3412 ccvs/src/ChangeLog:1.3413
--- ccvs/src/ChangeLog:1.3412 Wed May 17 15:24:30 2006
+++ ccvs/src/ChangeLog Wed May 17 18:17:39 2006
@@ -1,5 +1,9 @@
2006-05-17 Derek Price <address@hidden>
+ * sign.c (sign_usage): Correct -rTAG synopsis.
+ * verify.c: Correct some header comment blocks.
+ (iget_verify_checkouts): Return VERIFY_OFF, not false.
+
* main.c (cmd_usage): Add sign & verify synopsis.
* sign.c (sign_usage): Reformat.
Index: ccvs/src/sign.c
diff -u ccvs/src/sign.c:1.5 ccvs/src/sign.c:1.6
--- ccvs/src/sign.c:1.5 Wed May 17 15:24:30 2006
+++ ccvs/src/sign.c Wed May 17 18:17:39 2006
@@ -529,7 +529,7 @@
"\t-R\tProcess directories recursively.\n",
"\t-d KEYID\n",
"\t\tDelete signatures with key ID KEYID from revision.\n",
- "\t-r TAG\tDelete signatures from revision designated by TAG.\n",
+ "\t-r TAG\tDelete signatures from or sign revision designated by TAG.\n",
"(Specify the --help global option for a list of other help options)\n",
NULL
};
Index: ccvs/src/verify.c
diff -u ccvs/src/verify.c:1.3 ccvs/src/verify.c:1.4
--- ccvs/src/verify.c:1.3 Tue May 9 01:47:55 2006
+++ ccvs/src/verify.c Wed May 17 18:17:39 2006
@@ -113,9 +113,11 @@
* cvsroot, and compiled default.
*
* INPUTS
- * server_active Whether the server is active.
* server_support Whether the server supports signed files.
*
+ * GLOBALS
+ * server_active Whether the server is active.
+ *
* ERRORS
* This function exits with a fatal error when the server does not support
* OpenPGP signatures and VERIFY_FATAL would otherwise be returned.
@@ -129,7 +131,7 @@
verify_state tmp;
/* Only verify checkouts from the client (and in local mode). */
- if (server_active) return false;
+ if (server_active) return VERIFY_OFF;
tmp = verify_checkouts;
@@ -149,8 +151,10 @@
/* Return true if the client should attempt to verify files sent by the server.
*
- * INPUTS
+ * GLOBALS
* server_active Whether the server is active.
+ *
+ * INPUTS
* server_support Whether the server supports signed files.
*
* ERRORS
@@ -170,9 +174,6 @@
* GLOBALS
* server_active Whether the server is active (via
* iget_verify_checkouts).
- *
- * INPUTS
- * server_support Whether the server supports signed files.
*/
bool
get_verify_checkouts_fatal (void)