read builtin fixes for CHERI environment; use CLOCK_GETTIME in gettimeofday replacement; readline fix to not optimize typeahead while defining a keyboard macro; fix for crash with unset nameref variable; make sure to save currently executing command around running DEBUG trap

This commit is contained in:
Chet Ramey
2025-10-14 14:21:00 -04:00
parent 25c6aa5b23
commit 6a48b39bba
22 changed files with 173 additions and 89 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ cat_main (int argc, char **argv)
fd = 0;
closefd = 0;
} else {
fd = open(argv[i], O_RDONLY, 0666);
fd = open(argv[i], O_RDONLY);
if (fd < 0) {
s = strerror(errno);
write(2, "cat: cannot open ", 17);