]>
Commit | Line | Data |
---|---|---|
1940141a AM |
1 | diff -urN cvs-1.11.11.org/src/client.c cvs-1.11.11/src/client.c |
2 | --- cvs-1.11.11.org/src/client.c 2004-01-18 12:28:32.162094080 +0100 | |
3 | +++ cvs-1.11.11/src/client.c 2004-01-18 12:30:35.439469099 +0100 | |
4 | @@ -4642,38 +4642,13 @@ | |
5 | char *rsh_argv[10]; | |
6 | ||
7 | if (!cvs_rsh) | |
8 | - /* People sometimes suggest or assume that this should default | |
9 | - to "remsh" on systems like HPUX in which that is the | |
10 | - system-supplied name for the rsh program. However, that | |
11 | - causes various problems (keep in mind that systems such as | |
12 | - HPUX might have non-system-supplied versions of "rsh", like | |
13 | - a Kerberized one, which one might want to use). If we | |
14 | - based the name on what is found in the PATH of the person | |
15 | - who runs configure, that would make it harder to | |
16 | - consistently produce the same result in the face of | |
17 | - different people producing binary distributions. If we | |
18 | - based it on "remsh" always being the default for HPUX | |
19 | - (e.g. based on uname), that might be slightly better but | |
20 | - would require us to keep track of what the defaults are for | |
21 | - each system type, and probably would cope poorly if the | |
22 | - existence of remsh or rsh varies from OS version to OS | |
23 | - version. Therefore, it seems best to have the default | |
24 | - remain "rsh", and tell HPUX users to specify remsh, for | |
25 | - example in CVS_RSH or other such mechanisms to be devised, | |
26 | - if that is what they want (the manual already tells them | |
27 | - that). */ | |
28 | - cvs_rsh = "rsh"; | |
29 | + cvs_rsh = "ssh"; | |
30 | if (!cvs_server) | |
31 | cvs_server = "cvs"; | |
32 | ||
33 | /* The command line starts out with rsh. */ | |
34 | rsh_argv[i++] = cvs_rsh; | |
35 | ||
36 | -# ifdef RSH_NEEDS_BINARY_FLAG | |
37 | - /* "-b" for binary, under OS/2. */ | |
38 | - rsh_argv[i++] = "-b"; | |
39 | -# endif /* RSH_NEEDS_BINARY_FLAG */ | |
40 | - | |
41 | /* Then we strcat more things on the end one by one. */ | |
42 | if (root->username != NULL) | |
43 | { | |
44 | @@ -4723,7 +4698,7 @@ | |
45 | int child_pid; | |
46 | ||
47 | if (!cvs_rsh) | |
48 | - cvs_rsh = "rsh"; | |
49 | + cvs_rsh = "ssh"; | |
50 | if (!cvs_server) | |
51 | cvs_server = "cvs"; | |
52 |