From owner-cvs-all Sun Jul 30 23:17:40 2000 Delivered-To: cvs-all@freebsd.org Received: from piano.mahoroba.org (ratch.spacecom.netspace.or.jp [202.238.190.78]) by hub.freebsd.org (Postfix) with ESMTP id 010D937B555; Sun, 30 Jul 2000 23:17:31 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:0lp201gpaiZ0ch1mln2wpc6z2LmC9/hXEZmGNLyEj+IYRMzH4I+Rnjg9qQLqxLtb@localhost [::1]) by piano.mahoroba.org (8.11.0/3.7W-piano) with ESMTP id e6V6HGX23984; Mon, 31 Jul 2000 15:17:16 +0900 (JST) (envelope-from ume@mahoroba.org) To: jkh@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall media.c variable.c In-Reply-To: <200007302218.PAA10013@freefall.freebsd.org> References: <200007302218.PAA10013@freefall.freebsd.org> X-Mailer: xcite1.20> Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 4.1-RELEASE Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000731151715M.ume@mahoroba.org> Date: Mon, 31 Jul 2000 15:17:15 +0900 From: Hajimu UMEMOTO X-Dispatcher: imput version 20000414(IM141) Lines: 34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Sun, 30 Jul 2000 15:18:54 -0700 (PDT) >>>>> "Jordan K. Hubbard" said: jkh> jkh 2000/07/30 15:18:54 PDT jkh> Modified files: jkh> release/sysinstall media.c variable.c jkh> Log: jkh> Fix the HTTP transfer code to correctly parse the port number if jkh> specified. Sorry for introducing this bug. However, this fix doesn't save IPv6 case. This bug was typo during cut&paste. It should be fixed by applying following patch to the privious media.c. Index: media.c diff -u media.c.orig media.c --- media.c.orig Fri Jul 14 17:33:08 2000 +++ media.c Mon Jul 31 15:08:40 2000 @@ -479,7 +479,7 @@ *(idx - 1) = '\0'; } else idx = index(hostname, ':'); - if (idx == NULL || *cp != ':') + if (idx == NULL || *idx != ':') HttpPort = 3128; /* try this as default */ else { *(idx++) = '\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 cvs-all" in the body of the message