cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/src ChangeLog client.h


From: Mark D. Baushke
Subject: [Cvs-cvs] ccvs/src ChangeLog client.h
Date: Wed, 06 Sep 2006 17:49:44 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Changes by:     Mark D. Baushke <mdb>   06/09/06 17:49:44

Modified files:
        src            : ChangeLog client.h 

Log message:
        * client.h (HAVE_NETDB_H): Explicitly include netdb.h to get
        'struct hostent' even when --disable-password-authenticated-client
        and --without-gssapi are used.
        (CVS_PROXY_PORT): Define outside of AUTH_CLIENT_SUPPORT and HAVE_GSSAPI.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/ChangeLog?cvsroot=cvs&r1=1.3491&r2=1.3492
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/client.h?cvsroot=cvs&r1=1.62&r2=1.63

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/ChangeLog,v
retrieving revision 1.3491
retrieving revision 1.3492
diff -u -b -r1.3491 -r1.3492
--- ChangeLog   6 Sep 2006 17:13:36 -0000       1.3491
+++ ChangeLog   6 Sep 2006 17:49:44 -0000       1.3492
@@ -1,6 +1,12 @@
 2006-09-06  Mark D. Baushke  <address@hidden>
 
+       * client.h (HAVE_NETDB_H): Explicitly include netdb.h to get
+       'struct hostent' even when --disable-password-authenticated-client
+       and --without-gssapi are used.
+       (CVS_PROXY_PORT): Define outside of AUTH_CLIENT_SUPPORT and
+       HAVE_GSSAPI.
        * buffer.h (buf_count_mem): Provide if defined (PROXY_SUPPORT).
+       (Problems reported by Jim Salter <address@hidden>.)
 
 2006-09-06  Derek Price  <address@hidden>
 

Index: client.h
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/client.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- client.h    24 Apr 2006 18:50:26 -0000      1.62
+++ client.h    6 Sep 2006 17:49:44 -0000       1.63
@@ -20,6 +20,10 @@
 #include <sys/types.h>
 #include "root.h"
 
+/* Needed for struct hostent */
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
 
 
 /* Stuff shared with the server.  */
@@ -76,10 +80,11 @@
 #   ifndef CVS_AUTH_PORT
 #     define CVS_AUTH_PORT 2401
 #   endif /* CVS_AUTH_PORT */
+# endif /* (AUTH_CLIENT_SUPPORT) || defined (HAVE_GSSAPI) */
+
 #   ifndef CVS_PROXY_PORT
 #     define CVS_PROXY_PORT 8080
-#   endif /* CVS_AUTH_PORT */
-# endif /* (AUTH_CLIENT_SUPPORT) || defined (HAVE_GSSAPI) */
+# endif /* CVS_PROXY_PORT */
 
 # if HAVE_KERBEROS
 #   ifndef CVS_PORT




reply via email to

[Prev in Thread] Current Thread [Next in Thread]