projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utimens: cache whether utimensat syscall works
[pspp]
/
lib
/
striconveh.c
diff --git
a/lib/striconveh.c
b/lib/striconveh.c
index 755d85c3a1397024f059dc56836c0a5f22d4bbe7..05dbb73fb9bf3c562bd9e78ca8d20846c5dfa236 100644
(file)
--- a/
lib/striconveh.c
+++ b/
lib/striconveh.c
@@
-696,7
+696,8
@@
mem_cd_iconveh_internal (const char *src, size_t srclen,
in1ptr++;
in1size--;
}
- utf8buf[utf8len++] = '?';
+ *out1ptr++ = '?';
+ res1 = 0;
}
errno1 = errno;
utf8len = out1ptr - utf8buf;