mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-16 03:13:55 +01:00
round seconds in command timing information if precision is >= 0; fix for readline word boundaries when quoted command substitutions appear; remove nameref attribute when converting nameref variable into an array; change how help strings are written to builtins.c; change read builtin to update unwind-protect if the input string is reallocated; fix crash when an expansion on the rhs of an assignment statement unsets the variable on the lhs
This commit is contained in:
1 parent
6edfd0bf64
commit
403b32faf6
12 files changed
+272
-127
No files matched your search
+4
-4
@@ -1114,10 +1114,10 @@ bash_forward_shellword (int count, int key)
|
||||
ADVANCE_CHAR (rl_line_buffer, slen, p);
|
||||
break;
|
||||
case '\'':
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "'", SD_NOJMP);
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "'", SD_NOJMP|SD_QUOTEDSTR|SD_COMPLETE);
|
||||
break;
|
||||
case '"':
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "\"", SD_NOJMP);
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "\"", SD_NOJMP|SD_QUOTEDSTR|SD_COMPLETE);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1145,10 +1145,10 @@ bash_forward_shellword (int count, int key)
|
||||
ADVANCE_CHAR (rl_line_buffer, slen, p);
|
||||
break;
|
||||
case '\'':
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "'", SD_NOJMP);
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "'", SD_NOJMP|SD_QUOTEDSTR|SD_COMPLETE);
|
||||
break;
|
||||
case '"':
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "\"", SD_NOJMP);
|
||||
p = skip_to_delim (rl_line_buffer, ++p, "\"", SD_NOJMP|SD_QUOTEDSTR|SD_COMPLETE);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user