mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
f0ca59b2b5
obsoleting a couple patches (it's the same code, though, except for additions). This also brings in KNFization of everything (please hold the cheering down :) and made me reroll all my patches. My patches have been almost entirely rewritten. The places are the same, but the code's rewritten. It fits with the style (KNF) now, and looks better. I've also added strlcat.c to the build, which, just like strlcpy.c, is necessary for compatibility with older libcs. After strlcat() snuck into the OpenSSH code recently, this would prevent OpenSSH from building on (e.g.) FreeBSD 3.2. Adding it to ssh/lib/ makes it work yet again :)
13 lines
415 B
Plaintext
13 lines
415 B
Plaintext
--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh.c Tue Nov 23 18:57:50 1999
|
|
+++ ./ssh.c Tue Nov 23 19:28:33 1999
|
|
@@ -123,6 +123,9 @@
|
|
log("Using rsh. WARNING: Connection will not be encrypted.");
|
|
/* Build argument list for rsh. */
|
|
i = 0;
|
|
+#ifndef _PATH_RSH
|
|
+#define _PATH_RSH "/usr/bin/rsh"
|
|
+#endif
|
|
args[i++] = _PATH_RSH;
|
|
/* host may have to come after user on some systems */
|
|
args[i++] = host;
|