diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-10-03 23:15:23 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-10-03 23:15:23 +0000 |
commit | 42c57b73b117e6f2c07d72a87bd04a127c749fdc (patch) | |
tree | 7068780b5d35dd0485aa2c7c2fc7c77405cba5c4 /ftp/moxftp/files | |
parent | Change libjpeg major to (diff) |
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:
Notes
Notes:
svn path=/head/; revision=2237
Diffstat (limited to 'ftp/moxftp/files')
-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 000000000000..381e8030b4df --- /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); |