gbranden pushed a commit to branch master
in repository groff.
commit 4465cf3c9d100c8f0158103c0d3e5ed09d23a3d7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Oct 17 10:13:31 2024 -0500
ChangeLog: Clarify old entry.
---
ChangeLog | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 10e97ee97..840e06e28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -185,13 +185,14 @@
2024-10-11 G. Branden Robinson <[email protected]>
- * src/devices/grops/psrm.cpp (read_uint_arg): Thirty years ago
- {see "ChangeLog.old"}, James Clark converted some code in
- grolj4(1) from strtoul(3) to strtol(3), possibly because the
- function was not widespread or standardized. Presumably that
- lesson was applied here as well. It's standard now, in ISO C99,
- for which we require compiler support. Migrate text-to-integer
- conversion and discard diagnosis of negative value.
+ * src/devices/grops/psrm.cpp (read_uint_arg): Migrate from
+ `strtol()` to `strtoul()`. Thirty years ago {see
+ "ChangeLog.old"}, James Clark converted some code in grolj4(1)
+ from strtoul(3) to strtol(3), possibly because the function was
+ not widespread or standardized. Presumably that lesson was
+ applied here as well. It's standard now, in ISO C99, for which
+ we require compiler support. Migrate text-to-integer conversion
+ and discard diagnosis of negative value.
2024-10-11 Deri James <[email protected]>
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit