diff --git a/NEWS b/NEWS index 12ea10be2b37..2abf49d3cd04 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,12 @@ This documents significant changes in the 1.0 branch of ksh 93u+m. For full details, see the git log at: https://github.com/ksh93/ksh/tree/1.0 Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library. +2024-01-14: + +- Fixed a regression introduced on 2022-11-01 that caused ksh to enter + an infinite loop after using the up arrow in emacs mode with an empty + history file. + 2024-01-11: - Fixed ancient incorrect behaviour in the 'kill' built-in: it sent SIGCONT diff --git a/src/cmd/ksh93/edit/emacs.c b/src/cmd/ksh93/edit/emacs.c index f3a5b984fae1..78075fc56d11 100644 --- a/src/cmd/ksh93/edit/emacs.c +++ b/src/cmd/ksh93/edit/emacs.c @@ -659,9 +659,7 @@ int ed_emacsread(void *context, int fd,char *buff,int scend, int reedit) { hline = hismin+1; beep(); -#ifndef ESH_NFIRST continue; -#endif } goto common;