pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/htmldoc
Module Name: pkgsrc
Committed By: joerg
Date: Sat Dec 17 14:20:14 UTC 2016
Modified Files:
pkgsrc/www/htmldoc: distinfo
Added Files:
pkgsrc/www/htmldoc/patches: patch-htmldoc_htmlsep.cxx
Log Message:
Fix pointer abuse.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/htmldoc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/htmldoc/patches/patch-htmldoc_htmlsep.cxx
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/htmldoc/distinfo
diff -u pkgsrc/www/htmldoc/distinfo:1.12 pkgsrc/www/htmldoc/distinfo:1.13
--- pkgsrc/www/htmldoc/distinfo:1.12 Wed Nov 4 02:46:54 2015
+++ pkgsrc/www/htmldoc/distinfo Sat Dec 17 14:20:14 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/04 02:46:54 agc Exp $
+$NetBSD: distinfo,v 1.13 2016/12/17 14:20:14 joerg Exp $
SHA1 (htmldoc-1.8.27-source.tar.bz2) = 472908e0aafed1cedfbacd8ed3168734aebdec4b
RMD160 (htmldoc-1.8.27-source.tar.bz2) = 9605a5894675439f5fae405fb060972e19f33c7e
@@ -9,3 +9,4 @@ SHA1 (patch-ab) = 22add1402202fed917a79c
SHA1 (patch-ac) = bf9036087e03095d51ee064e1f193c899848adff
SHA1 (patch-ad) = 94e5f10387ede380b7579392e41234ff832f1295
SHA1 (patch-ae) = 1d77dd5120605881e83bf31ee07fa9fd73619cd3
+SHA1 (patch-htmldoc_htmlsep.cxx) = be66659cc83047ced67e2c73af9f4052962cdc50
Added files:
Index: pkgsrc/www/htmldoc/patches/patch-htmldoc_htmlsep.cxx
diff -u /dev/null pkgsrc/www/htmldoc/patches/patch-htmldoc_htmlsep.cxx:1.1
--- /dev/null Sat Dec 17 14:20:14 2016
+++ pkgsrc/www/htmldoc/patches/patch-htmldoc_htmlsep.cxx Sat Dec 17 14:20:14 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-htmldoc_htmlsep.cxx,v 1.1 2016/12/17 14:20:14 joerg Exp $
+
+Don't check the pointer, but the pointed to value.
+
+--- htmldoc/htmlsep.cxx.orig 2016-12-17 10:25:12.905636738 +0000
++++ htmldoc/htmlsep.cxx
+@@ -536,7 +536,7 @@ write_doc(FILE **out, // I - Output
+ if (t->markup >= MARKUP_H1 && t->markup < (MARKUP_H1 + TocLevels) &&
+ htmlGetVariable(t, (uchar *)"_HD_OMIT_TOC") == NULL)
+ {
+- if (heading >= 0)
++ if (*heading >= 0)
+ write_footer(out, *heading);
+
+ (*heading) ++;
Home |
Main Index |
Thread Index |
Old Index