[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 13/27: [pre-html]: If `mkdir()` fails, report its error.
From: |
G. Branden Robinson |
Subject: |
[groff] 13/27: [pre-html]: If `mkdir()` fails, report its error. |
Date: |
Sat, 2 Jul 2022 00:43:12 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 672e4db4675a7a50ac31e3e0795662b643f4a7b7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jun 24 05:35:26 2022 -0500
[pre-html]: If `mkdir()` fails, report its error.
* src/preproc/html/pre-html.cpp (checkImageDir): If `mkdir()` fails, use
`strerror()` to report the underlying problem.
---
ChangeLog | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index a9f6d9e9..3a30c3d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2022-06-28 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * src/preproc/html/pre-html.cpp (checkImageDir): If `mkdir()`
+ fails, use `strerror()` to report the underlying problem.
+
+2022-06-27 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* src/preproc/html/pre-html.cpp: Refactor. Drop unnecessary
prototype for static function. Use idiomatic C++98 null pointer
constant. Annotate it as null pointer to ease any future
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 13/27: [pre-html]: If `mkdir()` fails, report its error.,
G. Branden Robinson <=