Date: Wed, 17 May 2000 05:01:37 +0900 (JST) From: Hajimu UMEMOTO (=?ISO-2022-JP?B?GyRCR19LXBsoQiA=?= =?ISO-2022-JP?B?GyRCSCUbKEI=?=) <ume@mahoroba.org> To: des@flood.ping.uio.no Cc: arch@freebsd.org Subject: Re: fetch(1) Message-ID: <200005162001.e4GK1bF75342@peace.mahoroba.org> In-Reply-To: <200005161852.e4GIqhF74521@peace.mahoroba.org> References: <200005122016.e4CKGtF38185@peace.mahoroba.org> <xzpog68i71b.fsf@flood.ping.uio.no> <200005161852.e4GIqhF74521@peace.mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> Wed, 17 May 2000 03:52:43 +0900 (JST) の刻に「う瘢雹め」、すなわち >>> Hajimu UMEMOTO (梅本 肇) <ume@mahoroba.org> 氏曰く >>>>> On 15 May 2000 09:53:04 +0200 >>>>> Dag-Erling Smorgrav <des@flood.ping.uio.no> said: ume> There is one more problem. If us.size is -1 with HTTP, gotten file is ume> shorten than original one. One more. Fetch to ftp.openbsd.org fails with `999 Protocol error'. Ftp.openbsd.org seems to return '230 ' without any trailing message. libfetch: Info: sending 'PASS ftp' libfetch: Info: got reply '230- Guest login ok, access restrictions apply.' libfetch: Info: got reply '230- Local time is: Tue May 16 13:45:33 2000' libfetch: Info: got reply '230 ' libfetch: Protocol error (999 Protocol error) Index: ftp.c =================================================================== RCS file: /home/ncvs/src/lib/libfetch/ftp.c,v retrieving revision 1.19 diff -u -r1.19 ftp.c --- ftp.c 2000/05/15 08:24:58 1.19 +++ ftp.c 2000/05/16 19:57:02 @@ -120,7 +120,7 @@ #endif } while (isftpinfo(last_reply)); - while (lr_length && isspace(last_reply[lr_length-1])) + while (lr_length && isspace(last_reply[lr_length-1]) && lr_length > 4) lr_length--; last_reply[lr_length] = 0; -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005162001.e4GK1bF75342>