texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7635] xrefs_of_manpage


From: gavinsmith0123
Subject: [7635] xrefs_of_manpage
Date: Tue, 17 Jan 2017 16:02:32 -0500 (EST)

Revision: 7635
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7635
Author:   gavin
Date:     2017-01-17 16:02:32 -0500 (Tue, 17 Jan 2017)
Log Message:
-----------
xrefs_of_manpage

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/man.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-01-17 02:20:47 UTC (rev 7634)
+++ trunk/ChangeLog     2017-01-17 21:02:32 UTC (rev 7635)
@@ -1,3 +1,8 @@
+2017-01-18  Gavin Smith  <address@hidden>
+
+       * info/man.c (xrefs_of_manpage): Fix code finding end of the
+       name of a man page (broken on 2016-10-09).
+
 2017-01-17  Gavin Smith  <address@hidden>
 
        * tp/tests/run_parser_all: Include ${srcdir} when replacing

Modified: trunk/info/man.c
===================================================================
--- trunk/info/man.c    2017-01-17 02:20:47 UTC (rev 7634)
+++ trunk/info/man.c    2017-01-17 21:02:32 UTC (rev 7635)
@@ -2,7 +2,8 @@
    $Id$
 
    Copyright 1995, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2007, 2008, 
-   2009, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
+   2009, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Free Software Foundation, 
+   Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -528,10 +529,8 @@
         if (!isalnum (s.buffer[name_end])
             && s.buffer[name_end] != '_'
             && s.buffer[name_end] != '.'
-            && s.buffer[name_end] != '-'
-            && s.buffer[name_end] != '\033' /* possible in SGR sequence */
-            && s.buffer[name_end] != '[')
-          goto skip;
+            && s.buffer[name_end] != '-')
+          break;
 
       section = position;
       section_end = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]