Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described
as "The pipe is being closed") is now mapped to POSIX errno EPIPE
(previously 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 @@
             /* Issue #12802 */
             if (i == ERROR_DIRECTORY)
                 errno = ENOTDIR;
+            /* Issue #13063 */
+            else if (i == ERROR_NO_DATA)
+                errno = EPIPE;
             else
                 continue;
         }