Date: Mon, 08 Jul 2002 23:09:19 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Murray Stokely <murray@FreeBSD.org> Cc: Don Lewis <dl-freebsd@catspoiler.org>, doc@FreeBSD.org, saken@hotel.rmta.org Subject: Re: www/tidy core dumps when building doc during "make release" Message-ID: <7mn0t271m8.wl@black.imgsrc.co.jp> In-Reply-To: <20020707014835.D11035@freebsdmall.com> References: <200207060546.g665kH0M017501@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
How about this? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/tidy/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 22 Nov 2001 15:24:54 -0000 1.21 +++ Makefile 8 Jul 2002 14:08:15 -0000 @@ -7,7 +7,7 @@ PORTNAME= tidy PORTVERSION= 20000804 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.w3.org/People/Raggett/ DISTNAME= tidy4aug00 Index: files/patch-ac =================================================================== RCS file: /home/ncvs/ports/www/tidy/files/patch-ac,v retrieving revision 1.1 diff -u -r1.1 patch-ac --- files/patch-ac 22 Nov 2001 15:26:43 -0000 1.1 +++ files/patch-ac 8 Jul 2002 14:07:50 -0000 @@ -1,5 +1,5 @@ ---- config.c.orig Fri Aug 4 19:21:05 2000 -+++ config.c Mon Nov 19 14:42:14 2001 +--- config.c.orig Sat Aug 5 01:21:05 2000 ++++ config.c Mon Jul 8 23:07:17 2002 @@ -94,6 +94,7 @@ Bool TidyMark = yes; /* add meta element indicating tidied doc */ Bool Emacs = no; /* if true format error output for GNU Emacs */ @@ -16,7 +16,17 @@ /* this must be the final entry */ {0, 0, 0} -@@ -423,7 +425,10 @@ +@@ -392,7 +394,8 @@ + home_dir = passwd->pw_dir; + } + +- if (p = realloc(expanded_filename, strlen(filename)+strlen(home_dir)+1)) ++ if (home_dir != NULL && ++ (p = realloc(expanded_filename, strlen(filename)+strlen(home_dir)+1))) + { + strcat(strcpy(expanded_filename = p, home_dir), filename); + return(expanded_filename); +@@ -423,7 +426,10 @@ /* open the file and parse its contents */ if ((fin = fopen(fname, "r")) == null) @@ -28,7 +38,7 @@ else { config_text = null; -@@ -533,6 +538,12 @@ +@@ -533,6 +539,12 @@ { QuoteAmpersand = yes; HideEndTags = no; -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mn0t271m8.wl>