Commit 8a07a8e
committed
Undo my changes in __allocate_long_buffer
I had misunderstood the call `__long(__buffer, __capacity)` at the end
of the function. The second parameter to that constructor is actually
the string _size_, not its capacity! So it's correct that it should be
passing the original `__capacity` parameter from its caller, and not
the version increased for alignment.1 parent adfb6a7 commit 8a07a8e
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2329 | 2329 | | |
2330 | 2330 | | |
2331 | 2331 | | |
2332 | | - | |
2333 | | - | |
| 2332 | + | |
2334 | 2333 | | |
2335 | 2334 | | |
2336 | 2335 | | |
2337 | 2336 | | |
2338 | 2337 | | |
2339 | 2338 | | |
2340 | | - | |
| 2339 | + | |
2341 | 2340 | | |
2342 | 2341 | | |
2343 | 2342 | | |
| |||
0 commit comments