From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 15 12:00:34 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACE416A4DC for ; Mon, 15 Mar 2004 12:00:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A3EA43D39 for ; Mon, 15 Mar 2004 12:00:34 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2FK0Xbv064593 for ; Mon, 15 Mar 2004 12:00:33 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2FK0XhO064592; Mon, 15 Mar 2004 12:00:33 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 15 Mar 2004 12:00:33 -0800 (PST) Resent-Message-Id: <200403152000.i2FK0XhO064592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas-Martin Seck Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E9BB16A4CE for ; Mon, 15 Mar 2004 11:59:42 -0800 (PST) Received: from smtp2.netcologne.de (smtp2.netcologne.de [194.8.194.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B29F443D1D for ; Mon, 15 Mar 2004 11:59:41 -0800 (PST) (envelope-from thomas@laurel.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-213-168-118-191.netcologne.de [213.168.118.191]) by smtp2.netcologne.de (Postfix) with SMTP id 706DB3A114 for ; Mon, 15 Mar 2004 20:59:39 +0100 (MET) Received: (qmail 6303 invoked by uid 1001); 15 Mar 2004 19:59:17 -0000 Message-Id: <20040315195917.6302.qmail@laurel.tmseck.homedns.org> Date: 15 Mar 2004 19:59:17 -0000 From: Thomas-Martin Seck To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64309: [Maintainer] www/gatling: fix FTP CWD return code X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thomas-Martin Seck List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 20:00:34 -0000 >Number: 64309 >Category: ports >Synopsis: [Maintainer] www/gatling: fix FTP CWD return code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 15 12:00:33 PST 2004 >Closed-Date: >Last-Modified: >Originator: Thomas-Martin Seck >Release: FreeBSD 4.9-STABLE i386 >Organization: a private site in Germany >Environment: FreeBSD ports collection as of Mar 15, 2004. >Description: - correct the return code given for successful FTP CWD requests - bump PORTREVISION >How-To-Repeat: >Fix: Apply this patch: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/gatling/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 27 Feb 2004 22:46:33 -0000 1.2 +++ Makefile 15 Mar 2004 19:32:42 -0000 @@ -7,7 +7,7 @@ PORTNAME= gatling PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www benchmarks MASTER_SITES= http://dl.fefe.de/ Index: files/patch-gatling.c =================================================================== RCS file: /home/ncvs/ports/www/gatling/files/patch-gatling.c,v retrieving revision 1.1 diff -u -r1.1 patch-gatling.c --- files/patch-gatling.c 27 Feb 2004 22:46:33 -0000 1.1 +++ files/patch-gatling.c 15 Mar 2004 19:36:56 -0000 @@ -1,4 +1,5 @@ ! Fix a filedescriptor leak. This change requires libowfat-0.18 +! Correct return code for FTP CWD ! Obtained from gatling cvs --- gatling.c.orig Fri Feb 27 16:09:53 2004 +++ gatling.c Fri Feb 27 16:13:28 2004 @@ -20,3 +21,11 @@ if (logging) { buffer_putulonglong(buffer_1,range_last-range_first); buffer_putspace(buffer_1); +@@ -1428,7 +1428,7 @@ + } + y[fmt_str(y,x)]=0; + h->ftppath=y; +- h->hdrbuf="200 ok.\r\n"; ++ h->hdrbuf="250 ok.\r\n"; + return 0; + } >Release-Note: >Audit-Trail: >Unformatted: