Introduce fmkostemp_safe and use it in tests

No functional change.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-10-26 12:56:51 +02:00
parent 9f1c81d80a
commit d8351049a8
8 changed files with 53 additions and 71 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ int serialize_strv(FILE *f, const char *key, char **l) {
int ret = 0, r;
char **i;
/* Returns the first error */
/* Returns the first error, or positive if anything was serialized, 0 otherwise. */
STRV_FOREACH(i, l) {
r = serialize_item_escaped(f, key, *i);