Repository navigation
Commit d1a3bb5
Fix lengths of 2**30 or more where long is 32 bits
#rest_size, #skip, #match?, #skip_until and #exist? passed the length to INT2FIX, which does not fit past FIXNUM_MAX. On x64-mswin64 the result printed as the right number but was not equal to it, and `rest_size + rest_size` came out negative.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 315fe21 commit d1a3bb5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
| 829 | + | |
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| |||
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | | - | |
| 2193 | + | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | 2196 | | |
| |||
0 commit comments