Skip site navigation (1)Skip section navigation (2)
Date:      15 Mar 2004 19:59:17 -0000
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64309: [Maintainer] www/gatling: fix FTP CWD return code
Message-ID:  <20040315195917.6302.qmail@laurel.tmseck.homedns.org>
Resent-Message-ID: <200403152000.i2FK0XhO064592@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315195917.6302.qmail>