Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 20:50:02 -0700 (PDT)
From:      Scott Kenney <saken@hotel.rmta.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/11903: File descriptor leak in ports/www/tidy/tidy15apr99
Message-ID:  <199907010350.UAA14826@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/11903; it has been noted by GNATS.

From: Scott Kenney <saken@hotel.rmta.org>
To: peter.jeremy@alcatel.com.au
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/11903: File descriptor leak in ports/www/tidy/tidy15apr99
Date: Wed, 30 Jun 1999 23:42:31 -0400

 On Thu, May 27, 1999 at 04:08:19PM +1000, Peter Jeremy wrote:
 > 
 > >Number:         11903
 > >Category:       ports
 > >Synopsis:       File descriptor leak in ports/www/tidy/tidy15apr99
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    freebsd-ports
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Wed May 26 23:10:01 PDT 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Peter Jeremy
 > >Release:        FreeBSD 4.0-CURRENT i386
 > >Organization:
 > Alcatel Australia Limited
 
 I am the maintainer of the tidy port.
 The following patch upgrades tidy to version 26 Jun 1999, which corrects
 the problem addressed in this PR.
 
 
 diff -ruN tidy/Makefile tidy.new/Makefile
 --- tidy/Makefile	Tue Apr 27 03:21:29 1999
 +++ tidy.new/Makefile	Wed Jun 30 23:36:10 1999
 @@ -6,8 +6,8 @@
  # $Id: Makefile,v 1.7 1999/04/26 07:24:09 mharo Exp $
  #
  
 -DISTNAME=	tidy15apr99
 -PKGNAME=	tidy-0.4.99.2
 +DISTNAME=	tidy26jun99
 +PKGNAME=	tidy-0.6.99.1
  CATEGORIES=	www
  MASTER_SITES=	http://www.w3.org/People/Raggett/
  EXTRACT_SUFX=	.tgz
 @@ -18,6 +18,8 @@
  
  DOCFILES=	Overview.html tidy.gif release-notes.html grid.gif config.txt
  
 +post-extract:
 +	@${RM} ${WRKSRC}/tidy ${WRKSRC}/tidy.exe ${WRKSRC}/tab2space.exe
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
  .if !defined(NOPORTDOCS)
 diff -ruN tidy/files/md5 tidy.new/files/md5
 --- tidy/files/md5	Tue Apr 27 03:21:31 1999
 +++ tidy.new/files/md5	Wed Jun 30 20:02:19 1999
 @@ -1 +1 @@
 -MD5 (tidy15apr99.tgz) = 0896d889e34884343b0748f694c15b17
 +MD5 (tidy26jun99.tgz) = 24d656f51e7e18cbdb9c1737d3edb0c3
 diff -ruN tidy/patches/patch-ab tidy.new/patches/patch-ab
 --- tidy/patches/patch-ab	Wed Dec 23 18:10:01 1998
 +++ tidy.new/patches/patch-ab	Wed Jun 30 23:17:50 1999
 @@ -1,10 +1,17 @@
 ---- platform.h.orig	Thu Dec 17 11:20:40 1998
 -+++ platform.h	Wed Dec 23 17:04:27 1998
 -@@ -4,6 +4,7 @@
 +--- platform.h.orig	Mon Jun 28 07:22:09 1999
 ++++ platform.h	Wed Jun 30 23:17:07 1999
 +@@ -4,13 +4,13 @@
     See tidy.c for the copyright notice.
   */
   
  +#include <sys/types.h>
 + #include <ctype.h>
   #include <stdio.h>
 + #include <setjmp.h>  /* for longjmp on error exit */
   #include <stdlib.h>
 + #include <stdarg.h>  /* may need <varargs.h> for Unix V */
   #include <string.h>
 +-#include <malloc.h>
 + #include <assert.h>
 + 
 + #define ACCESS_URL  "http://www.w3.org/WAI/GL"
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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