Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Change documentation, dedication, loose ends



On 4/3/22, dana <dana@xxxxxxx> wrote:
> On Sun 3 Apr 2022, at 11:34, Bart Schaefer wrote:
>> If we're adding a sections specifically for 5.8.1, should the
>> line-buffering bug be mentioned?
>
> Is there a behaviour change there? I thought it was just a crash fix

When reading commands from stdin, we would read too much before
starting to run them:
# git master (second line is read by python)
% print -l python2 'print "%s"%"hi"' | zsh
hi
# git master with 1640457f475 reverted
# zsh consumes all input, python does nothing, exits, then we run the
2nd line as zsh code
% print -l python2 'print "%s"%"hi"' | Src/zsh
%s%hi

See also "0:Non-interactive shell command input is line buffered" in
A01 added in that commit.

-- 
Mikael Magnusson




Messages sorted by: Reverse Date, Date, Thread, Author