info-cvs
[Top][All Lists]
Advanced

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

Re: login failure on WindowsNT


From: Pradeep Picardo
Subject: Re: login failure on WindowsNT
Date: Thu, 12 Oct 2000 20:49:38 +0530 (India Standard Time)

The necessary code is already there in the function start_tcp_server(), it
just needs to be 'cut and pasted' into connect_to_pserver().
I'm attaching the output of the diff command to this mail, I believe
there's something called 'patch' but I'm a windows guy and am not familiar
with the unix conventions regarding submitting code patches. (Any guidance is
welcome :-) ).
In case you need a name to attribute this code change to - its Ravindra
Naik.

 - Pradeep.


note: client.c is the modified file, client.c.orig is the file as
distributed (cvs-1.11.tar.gz).

$diff client.c client.c.orig
3777,3779d3776
<       /* RDN 26052000 */
<     const char *portenv;
<     /* RDN 26052000 */
3794,3816c3791,3792
<       
<       /* RDN - 26052000 */
<     /* Get CVS_CLIENT_PORT or look up cvs/tcp with CVS_PORT as default
*/
<     portenv = getenv ("CVS_CLIENT_PORT");
<        if (portenv != NULL)
<        {
<                 port_number = atoi (portenv);
<                 if (port_number <= 0)
<                 {
<                               error (0, 0, "CVS_CLIENT_PORT must be a
positive number!  If you");
<                               error (0, 0, "are trying to force a
connection via rsh, please");
<                               error (0, 0, "put \":server:\" at the
beginning of your CVSROOT");
<                               error (1, 0, "variable.");
<                 }
<                 if (trace)
<                               fprintf(stderr, "Using TCP port %d to
contact server.\n", port_number);
<        }else {
<               port_number = auth_server_port_number ();
<        }
<        /*port_number = auth_server_port_number ();*/
<        /* RDN - 26052000 */
< 
<       hostinfo = init_sockaddr (&client_sai, CVSroot_hostname,
port_number);
---
>     port_number = auth_server_port_number ();
>     hostinfo = init_sockaddr (&client_sai, CVSroot_hostname,
port_number);




reply via email to

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