source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Critical fix in the new -Tman lookaside buffer code.
@ 2011-10-08 15:42 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-10-08 15:42 UTC (permalink / raw)
  To: source

Log Message:
-----------
Critical fix in the new -Tman lookaside buffer code. Gah..

Modified Files:
--------------
    mdocml:
        read.c

Revision Data
-------------
Index: read.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/read.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lread.c -Lread.c -u -p -r1.24 -r1.25
--- read.c
+++ read.c
@@ -464,7 +464,8 @@ rerun:
 			 * buffer because we're going to descend into
 			 * the file recursively.
 			 */
-			curp->secondary->sz -= pos + 1;
+			if (curp->secondary) 
+				curp->secondary->sz -= pos + 1;
 			mparse_readfd_r(curp, -1, ln.buf + of, 1);
 			if (MANDOCLEVEL_FATAL <= curp->file_status)
 				break;
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-08 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-08 15:42 mdocml: Critical fix in the new -Tman lookaside buffer code kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).