aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/TODO
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-09-20 14:20:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-09-20 14:20:48 +0000
commit923f10c1dbf6234d1a2ab1a268fe7b81a3841198 (patch)
tree7a739a01c96a4dbbf7a2e430ceac18b8ac3aeb65 /TODO
parent5402c1b9a0d8a1e61e1a3179ed694c6923e09990 (diff)
downloadmandoc-923f10c1dbf6234d1a2ab1a268fe7b81a3841198.tar.gz
mandoc-923f10c1dbf6234d1a2ab1a268fe7b81a3841198.tar.zst
mandoc-923f10c1dbf6234d1a2ab1a268fe7b81a3841198.zip
Using user-defined macros, surprisingly, it is possible
to have *next*-line head arguments on the *same* input line. So .TP must not assume that a head argument with a matching input line number is a same-line argument (and access a NULL pointer). Bug found and fix tested by kristaps@ with groff_hdtbl(7).
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index c0f87fb0..231db2ed 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,6 @@
************************************************************************
* Official mandoc TODO.
-* $Id: TODO,v 1.121 2011/09/18 16:43:28 schwarze Exp $
+* $Id: TODO,v 1.122 2011/09/20 14:20:48 schwarze Exp $
************************************************************************
************************************************************************
@@ -350,6 +350,10 @@ Several areas can be cleaned up to make mandoc even faster. These are
* structural issues
************************************************************************
+- We use the input line number at several places to distinguish
+ same-line from different-line input. That plainly doesn't work
+ with user-defined macros, leading to random breakage.
+
- Find better ways to prevent endless loops
in roff(7) macro and string expansion.