fix issue with interupting timed functions; fix for parsing comsubs inside arith for commands; allow break and continue inside arith for expressions; fix for case-insensitive completion with multibyte chars; fix some minor memory leaks; reset read buffer if it returns partial results on EINTR; fix for undo in execute-named-command

This commit is contained in:
Chet Ramey
2024-06-03 09:09:11 -04:00
parent 9cea457aef
commit f65ed506d4
20 changed files with 192 additions and 38 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ expr_bind_variable (const char *lhs, const char *rhs)
aflags = 0;
#endif
v = bind_int_variable (lhs, rhs, aflags);
if (v && (readonly_p (v) || noassign_p (v)))
if (v && ASSIGN_DISALLOWED (v, 0))
sh_longjmp (evalbuf, 1); /* variable assignment error */
stupidly_hack_special_variables (lhs);
}