fix for a trap on SIGINT restoring the default disposition in an asynchronous subshell; change cd exit status if -Pe supplied and the directory can't be changed; fix for compound associative array assignment if one of the expanded words unsets the array during word expansion; fixes for rare systems that don't have various defines and system calls

This commit is contained in:
Chet Ramey
2025-11-17 14:50:43 -05:00
parent 81d8584268
commit 2fd02c8387
13 changed files with 113 additions and 62 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ scan_file (char *str, int fd, struct buffer *bufp)
bufp->ateof = 0;
*bufp->ptr = '\0';
lseek (fd, 0L, 0);
lseek (fd, 0L, SEEK_SET);
while (!bufp->ateof)
{