gbranden pushed a commit to branch master
in repository groff.
commit 1ee1c1ee6590123105a13d41c559c22547cf2e08
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Aug 6 06:23:15 2026 -0500
[libgroff]: Annotate future directions.
---
src/include/searchpath.h | 3 ++-
src/libs/libgroff/macropath.cpp | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/include/searchpath.h b/src/include/searchpath.h
index 4dfd7e63b..444acf880 100644
--- a/src/include/searchpath.h
+++ b/src/include/searchpath.h
@@ -19,8 +19,9 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
class search_path {
char *dirs;
- unsigned init_len;
+ unsigned init_len; // TODO: size_t
public:
+ // TODO: Boolify 3rd and 4th arguments.
search_path(const char *envvar, const char *standard,
int add_home, int add_current);
~search_path();
diff --git a/src/libs/libgroff/macropath.cpp b/src/libs/libgroff/macropath.cpp
index 212790c38..86ace5e66 100644
--- a/src/libs/libgroff/macropath.cpp
+++ b/src/libs/libgroff/macropath.cpp
@@ -29,6 +29,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#define MACROPATH_ENVVAR "GROFF_TMAC_PATH"
+// TODO: Boolify 3rd and 4th arguments.
search_path macro_path(MACROPATH_ENVVAR, MACROPATH, 1, 1);
search_path safer_macro_path(MACROPATH_ENVVAR, MACROPATH, 1, 0);
search_path config_macro_path(MACROPATH_ENVVAR, MACROPATH, 0, 0);
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit