source:
trunk/minix/commands/bzip2-1.0.3/mk251.c@
20
| Last change on this file since 20 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 371 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | |
| 2 | /* Spew out a long sequence of the byte 251. When fed to bzip2 | |
| 3 | versions 1.0.0 or 1.0.1, causes it to die with internal error | |
| 4 | 1007 in blocksort.c. This assertion misses an extremely rare | |
| 5 | case, which is fixed in this version (1.0.2) and above. | |
| 6 | */ | |
| 7 | ||
| 8 | #include <stdio.h> | |
| 9 | ||
| 10 | int main () | |
| 11 | { | |
| 12 | int i; | |
| 13 | for (i = 0; i < 48500000 ; i++) | |
| 14 | putchar(251); | |
| 15 | return 0; | |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.