mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-30 00:49:57 +02:00
commit bash-20180831 snapshot
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user