[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] with log Re: svn_auth_cred_simple_t crash

From: Martin Hauner <hauner_at_web.de>
Date: 2005-03-14 20:19:26 CET

... and of course, i forgot the log message to :(

-- 
Martin
Subcommander, http://subcommander.tigris.org
a x-platform Win32/Unix svn gui (qt) client & a text diff/merge tool.

Improve documentation.

* subversion/include/svn_auth.h
  (svn_auth_cred_simple_t): added "no 0 pointer" notes.
  

Index: subversion/include/svn_auth.h
===================================================================
--- subversion/include/svn_auth.h (revision 13396)
+++ subversion/include/svn_auth.h (working copy)
@@ -170,9 +170,11 @@
 /** @c SVN_AUTH_CRED_SIMPLE credentials. */
 typedef struct svn_auth_cred_simple_t
 {
- /** Username */
+ /** Username. Expected to be non zero. Use the empty string (ie. "") for
+ * and empty or unspecified username.
+ */
   const char *username;
- /** Password */
+ /** Password. Expected to be non zero. See above. */
   const char *password;
   /** Indicates if the credentials may be saved (to disk). For example, a
    * GUI prompt implementation with a remember password checkbox shall set

Improve documentation.

* subversion/include/svn_auth.h
  (svn_auth_cred_simple_t): added "no 0 pointer" notes.

Index: subversion/include/svn_auth.h
===================================================================
--- subversion/include/svn_auth.h (revision 13396)
+++ subversion/include/svn_auth.h (working copy)
@@ -155,7 +155,11 @@
 
 
Improve documentation.

* subversion/include/svn_auth.h
  added "no 0 pointer" note to credential types.
 
-/** Specific types of credentials **/
+/** Specific types of credentials
+ *
+ * username, password or file pointers are expected to be non zero. Use the
+ * empty string (ie. "") for and empty or unspecified value.
+ */
 
 /** Simple username/password pair credential kind.
  *

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 14 20:19:26 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.