bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #67624] echo: write error: Invalid argument


From: Martin D Kealey
Subject: Re: [bug #67624] echo: write error: Invalid argument
Date: Thu, 30 Oct 2025 01:46:30 +1300

On Tue, 28 Oct 2025, 22:00 Andreas Schwab, <schwab@suse.de> wrote:

> Where is the second writev coming from?  "echo 60" should output
> $'60\n', and nothing else.
>

As I noted before, the write is truncated, from 3 down to 2 bytes ("60"),
so libc (musl) is obligated to try again to write the 1 remaining byte
("\n").

-Martin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]