Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 11:41:44 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        simon@FreeBSD.org
Cc:        www@FreeBSD.org
Subject:   Re: FreeBSD web build failed on www.freebsd.org
Message-ID:  <20040826.114144.07584562.hrs@eos.ocn.ne.jp>
In-Reply-To: <200408260220.i7Q2KDfd071051@www.freebsd.org>
References:  <200408260220.i7Q2KDfd071051@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart0(Thu_Aug_26_11_41_44_2004_805)--
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Thu_Aug_26_11_41_44_2004_580)--"
Content-Transfer-Encoding: 7bit

----Next_Part(Thu_Aug_26_11_41_44_2004_580)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Simon,

World Wide Web Owner <www@freebsd.org> wrote
  in <200408260220.i7Q2KDfd071051@www.freebsd.org>:

www> /usr/local/bin/jade:/w/www/build/relnotes/doc/en_US.ISO8859-1/hardware/alpha/../../../share/sgml/dev-auto.sgml:505:19:E: character "_" invalid: only parameter literal, "CDATA", "ENDTAG", "MD", "MS", "PI", "PUBLIC", "SDATA", "STARTTAG", "SYSTEM" and parameter separators allowed
www> *** Error code 1
www> 
www> Stop in /w/www/build/relnotes/doc/en_US.ISO8859-1/hardware/alpha.

 A patch is attached to fix this problem.  Could you review this?

-- 
| Hiroki SATO

----Next_Part(Thu_Aug_26_11_41_44_2004_580)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="man2hwnotes.pl.diff"

Index: man2hwnotes.pl
===================================================================
RCS file: /home/ncvs/src/release/doc/share/misc/man2hwnotes.pl,v
retrieving revision 1.5
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.5 man2hwnotes.pl
--- man2hwnotes.pl	25 Aug 2004 23:32:26 -0000	1.5
+++ man2hwnotes.pl	26 Aug 2004 02:38:31 -0000
@@ -163,6 +163,8 @@
 	    if (/^Nm "?(\w+)"?/ && !defined($mdocvars{Nm})) {
 		dlog(3, "Setting Nm to $1");
 		$mdocvars{Nm} = $1;
+		# "_" cannot be used for an entity name.
+		$mdocvars{Nm} =~ s,_,.,g;
 
 	    } elsif (/^Nm$/) {
 		if (defined($mdocvars{Nm}) && $mdocvars{Nm} ne "") {
@@ -197,6 +199,9 @@
 		dlog(4, "Setting mansection to $2");
 		$mdocvars{cur_manname} = lc($1);
 		$cur_mansection = $2;
+
+		# "_" cannot be used for an entity name.
+		$mdocvars{cur_manname} =~ s,_,.,g;
 
 	    } elsif (/^It ?(.*)$/) {
 		my $txt = $1;

----Next_Part(Thu_Aug_26_11_41_44_2004_580)----

----Security_Multipart0(Thu_Aug_26_11_41_44_2004_805)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBBLU3qTyzT2CeTzy0RAikKAKCHTO8SAqfsHBCPEavCzCdIsGwUAACgvR/D
kI222J2PaIHnNrTEIr0fRJk=
=tbXP
-----END PGP SIGNATURE-----

----Security_Multipart0(Thu_Aug_26_11_41_44_2004_805)----



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