Skip to content
Commit 6628813f authored by Thibault Ferrante's avatar Thibault Ferrante Committed by Tom Rini
Browse files

tools: env: Handle shorter read calls



On some cases, the actual number of bytes read can be shorter
than what was requested. This can be handled gracefully by
taking this difference into account instead of exiting.

Signed-off-by: default avatarThibault Ferrante <thibault.ferrante@gmail.com>
parent 7befc849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment