From owner-svn-soc-all@FreeBSD.ORG Thu May 31 07:43:16 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id D21951065670 for ; Thu, 31 May 2012 07:43:14 +0000 (UTC) (envelope-from jhagewood@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Thu, 31 May 2012 07:43:14 +0000 Date: Thu, 31 May 2012 07:43:14 +0000 From: jhagewood@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120531074314.D21951065670@hub.freebsd.org> Cc: Subject: socsvn commit: r236799 - soc2012/jhagewood/mdocml X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 07:43:17 -0000 Author: jhagewood Date: Thu May 31 07:43:14 2012 New Revision: 236799 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=236799 Log: Modified: soc2012/jhagewood/mdocml/hagewood-mdocml.patch Modified: soc2012/jhagewood/mdocml/hagewood-mdocml.patch ============================================================================== --- soc2012/jhagewood/mdocml/hagewood-mdocml.patch Thu May 31 07:42:57 2012 (r236798) +++ soc2012/jhagewood/mdocml/hagewood-mdocml.patch Thu May 31 07:43:14 2012 (r236799) @@ -11,7 +11,7 @@ diff -rupN mdocml-1.12.1-orig/mdoc_html.c mdocml-1.12.1/mdoc_html.c --- mdocml-1.12.1-orig/mdoc_html.c 2012-05-31 07:34:22.000000000 -0400 -+++ mdocml-1.12.1/mdoc_html.c 2012-05-31 07:37:11.000000000 -0400 ++++ mdocml-1.12.1/mdoc_html.c 2012-05-31 07:40:22.000000000 -0400 @@ -767,10 +767,12 @@ mdoc_xr_pre(MDOC_ARGS) static int mdoc_ns_pre(MDOC_ARGS) @@ -20,7 +20,7 @@ - if ( ! (MDOC_LINE & n->flags)) - h->flags |= HTML_NOSPACE; - return(1); -+ if(!roff_regisset(n->roff, REG_ns)) ++ if(!roff_regisset(m->roff, REG_ns)) + { + if ( ! (MDOC_LINE & n->flags)) + h->flags |= HTML_NOSPACE; @@ -31,7 +31,7 @@ diff -rupN mdocml-1.12.1-orig/mdoc_term.c mdocml-1.12.1/mdoc_term.c --- mdocml-1.12.1-orig/mdoc_term.c 2012-05-31 07:34:22.000000000 -0400 -+++ mdocml-1.12.1/mdoc_term.c 2012-05-31 07:37:36.000000000 -0400 ++++ mdocml-1.12.1/mdoc_term.c 2012-05-31 07:40:22.000000000 -0400 @@ -1147,9 +1147,12 @@ termp_an_post(DECL_ARGS) static int termp_ns_pre(DECL_ARGS) @@ -39,7 +39,7 @@ - - if ( ! (MDOC_LINE & n->flags)) - p->flags |= TERMP_NOSPACE; -+ if (!roff_regisset(n->roff, REG_ns)) ++ if (!roff_regisset(m->roff, REG_ns)) + { + if ( ! (MDOC_LINE & n->flags)) + p->flags |= TERMP_NOSPACE;