[Midnightbsd-cvs] [MidnightBSD/src] 62f54d: sh: backport read -t, heredoc, history and setjmp ...

Thread index · Date index · Mailing lists

From: Lucas Holt <noreply_at_github.com>
Date: Thu, 15 Oct 2026 03:43:40 UTC

  Branch: refs/heads/sh-fbsd14-fixes\n  Home:   https://github.com/MidnightBSD/src\n  Commit: 62f54d2acf6a113f050348101809131d6dfb80ef\n      https://github.com/MidnightBSD/src/commit/62f54d2acf6a113f050348101809131d6dfb80ef\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M bin/sh/eval.c\n    M bin/sh/histedit.c\n    M bin/sh/input.c\n    M bin/sh/input.h\n    M bin/sh/main.c\n    M bin/sh/miscbltin.c\n    M bin/sh/parser.c\n    M bin/sh/sh.1\n    M bin/sh/tests/builtins/Makefile\n    A bin/sh/tests/builtins/read10.0\n    A bin/sh/tests/builtins/read11.0\n    A bin/sh/tests/builtins/read12.0\n    M bin/sh/tests/parser/Makefile\n    A bin/sh/tests/parser/heredoc14.0\n    A bin/sh/tests/parser/heredoc15.0\n    A bin/sh/tests/parser/heredoc16.0\n\n  Log Message:\n  -----------\n  sh: backport read -t, heredoc, history and setjmp fixes from FreeBSD stable/14\n\n- read -t: replace the single select() with a ppoll() loop so a stray\n  EINTR is no longer treated as a timeout.  Accept compound durations\n  such as 1h30m15s; reject 1hour and 5sec.  Clear the named variables\n  when the read times out.  Tests read10.0 to read12.0.\n  (FreeBSD 7f691e07efe6, e31fb97148f7)\n- Fix here-documents placed just before the \"in\" of a for or case\n  statement.  Tests heredoc14.0 to heredoc16.0.  (FreeBSD 72f750dc7c73)\n- Fix truncation and corruption of long lines read through libedit by\n  growing the parse buffer dynamically instead of capping at BUFSIZ.\n  (FreeBSD 0fb06da11083)\n- Raise the default history size to the POSIX minimum of 128.\n  (FreeBSD 9bc3d8e002b9)\n- Make the main() stackmarks static since they are read after a\n  longjmp.  (FreeBSD 2178e8c27aad)\n\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>\n\n\n\nTo unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications\n\nMidnightbsd-cvs\nmidnightbsd-cvs@midnightbsd.org\nTo unsubscribe: midnightbsd-cvs+unsubscribe@midnightbsd.org\nhttps://lists.midnightbsd.org/\n