summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
Diffstat (limited to 'PC')
-rw-r--r--PC/errmap.h1
-rw-r--r--PC/generrmap.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/PC/errmap.h b/PC/errmap.h
index 8dde31c..985f673 100644
--- a/PC/errmap.h
+++ b/PC/errmap.h
@@ -72,6 +72,7 @@ int winerror_to_errno(int winerror)
case 202: return 8;
case 206: return 2;
case 215: return 11;
+ case 232: return 32;
case 267: return 20;
case 1816: return 12;
default: return EINVAL;
diff --git a/PC/generrmap.c b/PC/generrmap.c
index 0323cd4..953344c 100644
--- a/PC/generrmap.c
+++ b/PC/generrmap.c
@@ -19,6 +19,9 @@ int main()
/* Issue #12802 */
if (i == ERROR_DIRECTORY)
errno = ENOTDIR;
+ /* Issue #13063 */
+ else if (i == ERROR_NO_DATA)
+ errno = EPIPE;
else
continue;
}