[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(no subject)
From: |
Nalin Dahyabhai |
Subject: |
(no subject) |
Date: |
Tue, 19 Jun 2001 18:06:16 -0400 |
>Submitter-Id: net
>Originator:
>Organization:
net
>Confidential: no
>Synopsis: unable to build cvs 1.11.1p1 with --with-krb4
>Severity: non-critical
>Priority: medium
>Category: cvs
>Class: sw-bug
>Release: cvs-1.11.1p1
>Environment:
System: Linux blade.devel.redhat.com 2.4.3-12smp #1 SMP Fri Jun 8 14:38:50 EDT
2001 i686 unknown
Architecture: i686
>Description:
When cvs 1.11.1p1 is configured with --with-krb4, client.c refuses
to compile because of incorrect variable names used in trace
clauses.
>How-To-Repeat:
configure cvs with --with-krb4, attempt to compile with -DHAVE_KERBEROS
>Fix:
short patch attached:
--- cvs-1.11.1p1/src/client.c Tue Jun 19 17:22:01 2001
+++ cvs-1.11.1p1/src/client.c Tue Jun 19 17:22:43 2001
@@ -4117,13 +4117,13 @@
{
fprintf (stderr, " -> Connecting to %s(%s):%d\n",
current_parsed_root->hostname,
- inet_ntoa (client_sai.sin_addr), port);
+ inet_ntoa (sin.sin_addr), port);
}
if (connect (s, (struct sockaddr *) &sin, sizeof sin) < 0)
error (1, 0, "connect to %s(%s):%d failed: %s",
current_parsed_root->hostname,
- inet_ntoa (client_sai.sin_addr),
+ inet_ntoa (sin.sin_addr),
port, SOCK_STRERROR (SOCK_ERRNO));
{