commit bash-20080904 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:28:26 -05:00
parent 40c8fbee93
commit 48ff544772
57 changed files with 6877 additions and 6620 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ legal_number (string, result)
errno = 0;
value = strtoimax (string, &ep, 10);
if (errno)
if (errno || ep == string)
return 0; /* errno is set on overflow or underflow */
/* Skip any trailing whitespace, since strtoimax does not. */