summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-08-02 11:09:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-08-02 11:09:46 +0000
commit42e4191ce53a7d77deef2b37ea6b3800cf463172 (patch)
tree64ae94cf9e4cf6e08ebaadf8903a832a6658d9ac /TODO
parent63629b45891523da62daada0d2e7799efa2a897d (diff)
downloadmandoc-42e4191ce53a7d77deef2b37ea6b3800cf463172.tar.gz
POSIX allows PATH_MAX to not be defined, meaning "unlimited".
Found by Aaron M. Ucko <amu at alum dot mit dot edu> on the GNU Hurd, via Bdale Garbee, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624 Also add EFTYPE at two places where it was forgotten.
Diffstat (limited to 'TODO')
-rw-r--r--TODO7
1 files changed, 7 insertions, 0 deletions
diff --git a/TODO b/TODO
index 565828ee..7efcb75f 100644
--- a/TODO
+++ b/TODO
@@ -620,6 +620,13 @@ Several areas can be cleaned up to make mandoc even faster. These are
* structural issues
************************************************************************
+- POSIX says in the documentation of sysconf(3) that PATH_MAX
+ is allowed to be so large that it is a bad idea to use it
+ for sizing static buffers. So use dynamic buffers throughout.
+ See the file test-PATH_MAX.c for details.
+ Found by Aaron M. Ucko in the GNU Hurd via Bdale Garbee,
+ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624
+
- 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.