From owner-freebsd-ports Tue Dec 17 18: 5:13 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74FF637B401 for ; Tue, 17 Dec 2002 18:05:12 -0800 (PST) Received: from manuel.dublan.net (manuel.dublan.net [66.219.198.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0877743E4A for ; Tue, 17 Dec 2002 18:05:12 -0800 (PST) (envelope-from troy@dublan.net) Received: from manuel.dublan.net (manuel.dublan.net [127.0.0.1]) by manuel.dublan.net (8.12.6/8.12.6) with ESMTP id gBI251N5062174 for ; Tue, 17 Dec 2002 19:05:01 -0700 (MST) (envelope-from troy@dublan.net) Received: from localhost (troy@localhost) by manuel.dublan.net (8.12.6/8.12.6/Submit) with ESMTP id gBI251JT062171 for ; Tue, 17 Dec 2002 19:05:01 -0700 (MST) X-Authentication-Warning: manuel.dublan.net: troy owned process doing -bs Date: Tue, 17 Dec 2002 19:05:01 -0700 (MST) From: Troy Bowman To: ports@freebsd.org Subject: CGI::Lite fix Message-ID: <20021217190359.U62079-100000@manuel.dublan.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've tried to mail the author of CGI::Lite, but his email address (shishir@ora.com) bounces, user unknown. Maybe at least we could make a patch for the FreeBSD port. If you know the true address for the maintainer, by all means, please forward this on. I had an inetermittent problem while using mod_layout, and tracked it down to CGI::Lite. The whole problem is that mod_layout sometimes gets the "[ Reading query from standard input. Press ^D to stop! ]" output as a header, and croaks on it. I noticed that CGI.pm prints their "(offline mode: enter name=value pairs on standard input)" to STDERR. To fix this, please change line 695 of Lite.pm from: print "[ Reading query from standard input. Press ^D to stop! ]\n"; to print STDERR "[ Reading query from standard input. Press ^D to stop! ]\n"; Thanks! ../troy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message