annotate docs/Makefile @ 577:e49d24f4a9a5

Correct bug in the object file output code leading to stack corruption It turns out leaving a pointer to a stack allocated temporary in a persistent data structure is not conducive to correct program operation. Undo the export check setup in the object file output sequence so a pointer to stack allocated memory is not left hanging when the function returns. This seems to correct at least one mysterious crash bug, and possibly others. Thanks to Boisy Pitre for reporting the crash bug that led to this discovery, as well as a previous crash bug that likely has the same root cause. Additional thanks to Ciaran Anscomb whose debugger wielding wizardry revealed the exact location of this particular bit of unbrilliance.
author William Astle <lost@l-w.ca>
date Sat, 03 Aug 2024 14:30:06 -0600
parents fc166b3bbae3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
1 all:
170
372d7c881831 More manual updates
lost@l-w.ca
parents: 169
diff changeset
2 rm -f manual/*.pdf manual/*.html
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
3 docbook2html -o manual manual.docbook.sgml
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
4 docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
5 docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
174
411ef9735264 Fixing up helper for building manual
lost@l-w.ca
parents: 170
diff changeset
6 rm -f manual.docbook.html
351
e4ad15af2e93 Make the "hg" stuff in the docs/Makefile clearly maintainter related
William Astle <lost@l-w.ca>
parents: 174
diff changeset
7
e4ad15af2e93 Make the "hg" stuff in the docs/Makefile clearly maintainter related
William Astle <lost@l-w.ca>
parents: 174
diff changeset
8 maint:
394
fc166b3bbae3 Update manual for recent additions.
William Astle <lost@l-w.ca>
parents: 351
diff changeset
9 hg rm --force manual/* || true
351
e4ad15af2e93 Make the "hg" stuff in the docs/Makefile clearly maintainter related
William Astle <lost@l-w.ca>
parents: 174
diff changeset
10 $(MAKE) all
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
11 hg add manual/*