commit | 0891ac017dd02f9c592c40940dff6b050523be00 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Sep 15 02:35:15 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Sep 15 02:35:15 2001 +0000 |
tree | c923b2083e61dfea689d38e7528a7e9936a5d9c1 | |
parent | 1048aa933f096c33738f5088c7362a00e2c5b85c [diff] |
The 'p' (Pascal string) pack code acts unreasonably when the string size and count exceed 255. Changed to preserve as much of the string as possible (instead of count%256 characters).