04691c5e33
- Use fgetln instead of fgets and keep track of line limits. - Use dynamically allocated buffers instead of fixed length ones. - Use err/warn - Don't re-scan strings needlessly. - Handle extensions properly for page names that contain more than one period printing: resolv.conf (5) - resolver configuration file instead of: resolv.conf (conf.5) - resolver configuration file This fixes PR/4738: "Coredump in getNAME" as a side effect. This program is a hack; it depends on the ``standard format'' of a man page and can get easily confused. At least now it will not core-dump... |
||
---|---|---|
.. | ||
getNAME.8 | ||
getNAME.c | ||
Makefile |