texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/info man.c


From: Sergey Poznyakoff
Subject: texinfo/info man.c
Date: Mon, 25 Apr 2011 20:18:58 +0000

CVSROOT:        /cvsroot/texinfo
Module name:    texinfo
Changes by:     Sergey Poznyakoff <gray>        11/04/25 20:18:58

Modified files:
        info           : man.c 

Log message:
        (manpage_node_of_file_buffer): Initialize body_start.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/man.c?cvsroot=texinfo&r1=1.16&r2=1.17

Patches:
Index: man.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/man.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- man.c       3 Dec 2010 23:49:20 -0000       1.16
+++ man.c       25 Apr 2011 20:18:58 -0000      1.17
@@ -1,5 +1,5 @@
 /*  man.c: How to read and format man files.
-    $Id: man.c,v 1.16 2010/12/03 23:49:20 karl Exp $
+    $Id: man.c,v 1.17 2011/04/25 20:18:58 gray Exp $
 
    Copyright (C) 1995, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 
    2007, 2008, 2009 Free Software Foundation, Inc.
@@ -402,6 +402,7 @@
       node->parent   = NULL;
       node->flags = (N_HasTagsTable | N_IsManPage);
       node->contents += skip_node_separator (node->contents);
+      node->body_start = strcspn(node->contents, "\n");
     }
 
   return node;



reply via email to

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