1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/ftp/moxftp/files/patch-ae
Satoshi Asami 42c57b73b1 Submitted by: Steve Passe <smp@csn.net>
there is a  bug in net/moxftp keeping it from finding the installed
archie application.  the following patch fixes it:
1995-10-03 23:15:23 +00:00

20 lines
593 B
Plaintext

*** oldarchie.c Mon Oct 2 14:02:08 1995
--- archie.c Mon Oct 2 14:09:28 1995
***************
*** 163,169 ****
char *host;
int i;
! archie = lpopen("type archie", "r");
if (fgets(string, sizeof(string), archie) != NULL) {
if ((cp = bsdstrstr(string, "not found")) != NULL) {
lpclose(archie);
--- 163,169 ----
char *host;
int i;
! archie = lpopen("which archie", "r");
if (fgets(string, sizeof(string), archie) != NULL) {
if ((cp = bsdstrstr(string, "not found")) != NULL) {
lpclose(archie);