| Summary: | HUSH: builtin_read does not return >0 when stdin is closed | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Mikel Garai <m.garai> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.15.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Mikel Garai
2010-01-12 11:17:28 UTC
I propose adapting and reusing (sharing) ash's readcmd() code. It is a bit more work, but ash's read is well debugged and supports options like timeouts, max chars and so on. Fix is committed to git. Thanks! Fixed in 1.16.0 |