diff options
author | asami <asami@FreeBSD.org> | 1995-10-03 23:15:23 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-10-03 23:15:23 +0000 |
commit | b21c591b695a89259ea0ab4883a77aa43ab0b7d7 (patch) | |
tree | 7336cf0388532e8430f300a1fafaf93e095c6151 /ftp | |
parent | b102cd2f919b306743f2f5f65dafb9a2df2e1bd2 (diff) | |
download | FreeBSD-ports-b21c591b695a89259ea0ab4883a77aa43ab0b7d7.zip FreeBSD-ports-b21c591b695a89259ea0ab4883a77aa43ab0b7d7.tar.gz |
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:
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/moxftp/files/patch-ae | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ftp/moxftp/files/patch-ae b/ftp/moxftp/files/patch-ae new file mode 100644 index 0000000..381e803 --- /dev/null +++ b/ftp/moxftp/files/patch-ae @@ -0,0 +1,19 @@ +*** 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); |