diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-18 11:26:43 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-18 11:26:43 -0200 |
commit | 0c9080c7a9c2e0f9ee39a887bbde5385160b9747 (patch) | |
tree | 228c4571278479593d0b34f01495504feb395a0c /bugs | |
parent | b8fcb7b151a2eba126e042634d23834f4653f208 (diff) | |
download | lua-0c9080c7a9c2e0f9ee39a887bbde5385160b9747.tar.gz lua-0c9080c7a9c2e0f9ee39a887bbde5385160b9747.tar.bz2 lua-0c9080c7a9c2e0f9ee39a887bbde5385160b9747.zip |
"tonumber" goes crazy with negative numbers in other bases (not 10),
because "strtol" returns long, not unsigned long.
Diffstat (limited to 'bugs')
-rw-r--r-- | bugs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -52,3 +52,9 @@ of view) when functions have upvalues. | |||
52 | ** lstrlib.c | 52 | ** lstrlib.c |
53 | Tue Nov 10 17:29:36 EDT 1998 | 53 | Tue Nov 10 17:29:36 EDT 1998 |
54 | >> gsub/strfind do not check whether captures are properly finished. | 54 | >> gsub/strfind do not check whether captures are properly finished. |
55 | |||
56 | ** lbuiltin.c | ||
57 | Fri Dec 18 11:22:55 EDT 1998 | ||
58 | >> "tonumber" goes crazy with negative numbers in other bases (not 10), | ||
59 | because "strtol" returns long, not unsigned long. | ||
60 | |||