commit bash-20180831 snapshot

This commit is contained in:
Chet Ramey
2018-09-04 16:43:40 -04:00
parent 3b481dd380
commit 82b4156ab5
3 changed files with 12 additions and 1 deletions
+7
View File
@@ -4245,3 +4245,10 @@ execute_cmd.c
unfreeze_jobs_list
- execute_pipeline: set up lastpipe_cleanup with old value of
jobs_list_frozen
9/3
---
builtins/printf.def
- getuintmax,getfloatmax: on a conversion error, return as much of the
value as we were able to convert instead of 0. Fixes bug reported
by Robert Elz <kre@bmunnari.OZ.AU>
+4
View File
@@ -1198,8 +1198,10 @@ getuintmax ()
if (*ep)
{
sh_invalidnum (garglist->word->word);
#if 0
/* Same POSIX.2 conversion error requirements as getintmax(). */
ret = 0;
#endif
conversion_error = 1;
}
else if (errno == ERANGE)
@@ -1227,8 +1229,10 @@ getfloatmax ()
if (*ep)
{
sh_invalidnum (garglist->word->word);
#if 0
/* Same thing about POSIX.2 conversion error requirements. */
ret = 0;
#endif
conversion_error = 1;
}
else if (errno == ERANGE)
+1 -1
View File
@@ -297,7 +297,7 @@ _rl_forward_char_internal (int count)
#endif
if (rl_end < 0)
rl_end = 0;
rl_end = 0;
#else
point = rl_point + count;
if (point > rl_end)