Opened 5 years ago

Closed 5 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:


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 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 Changed 5 years ago by bird

_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 Changed 5 years ago by bird

Resolution: fixed
Status: newclosed

Fixed in [2733].

Note: See TracTickets for help on using tickets.