projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1eeb1
)
Revert "i18n.c: added EOPNOTSUPP error code for MacOS"
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Nov 2023 19:11:41 +0000
(11:11 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Nov 2023 19:11:41 +0000
(11:11 -0800)
This reverts commit
1799abc8539bd1a49c72c5723d1fa89ff4463e3f
.
Handling EOPNOTSUPP like EILSEQ produced a hang rather than
the expected results, so this was a failed experiment.
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index b70049ca06fe3071985ed8ce25cd1cced8d2a1d8..5e9aa0d59c0104a3bd741e6f7ab33bcfcdb441b6 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-214,7
+214,6
@@
try_recode (struct converter *cvtr, char fallbackchar,
return out - 1 - out_;
case EILSEQ:
- case EOPNOTSUPP:
if (outbytes == 0)
return -E2BIG;
if (!fallbackchar)