Opened 10 years ago

Closed 10 years ago

#120 closed defect (fixed)

echo: ENOSPC on windows with pipe.

Reported by: bird Owned by:
Priority: major Milestone:
Component: kBuild Version: 0.1.5
Keywords: ENOSPC Cc:

Description

We're seeing occational ENOSPC errors on the tinderboxes. The error message is generally garbled, but I think it should be: kmk_builtin_echo: write: No space left on device

https://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00169.html hints at this being due to special pipe weirdness on windows.

May require adding write glue code to deal correctly with this in a general fashion.

Change History (2)

comment:1 by bird, 10 years ago

_write_nolock() in crt/src/write.c returns ENOSPC if no bytes were written and no error reported by windows. (line 497 in the Visual Studio v10 sources). It's really just a way of saying: The pipe buffer is full and we're in non-blocking mode, so try again.

comment:2 by bird, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in [2733].

Note: See TracTickets for help on using tickets.