Mercurial > hg > sv-dependency-builds
annotate src/bzip2-1.0.6/mk251.c @ 169:223a55898ab9 tip default
Add null config files
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 02 Mar 2020 14:03:47 +0000 |
parents | 8a15ff55d9af |
children |
rev | line source |
---|---|
cannam@89 | 1 |
cannam@89 | 2 /* Spew out a long sequence of the byte 251. When fed to bzip2 |
cannam@89 | 3 versions 1.0.0 or 1.0.1, causes it to die with internal error |
cannam@89 | 4 1007 in blocksort.c. This assertion misses an extremely rare |
cannam@89 | 5 case, which is fixed in this version (1.0.2) and above. |
cannam@89 | 6 */ |
cannam@89 | 7 |
cannam@89 | 8 /* ------------------------------------------------------------------ |
cannam@89 | 9 This file is part of bzip2/libbzip2, a program and library for |
cannam@89 | 10 lossless, block-sorting data compression. |
cannam@89 | 11 |
cannam@89 | 12 bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
cannam@89 | 13 Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
cannam@89 | 14 |
cannam@89 | 15 Please read the WARNING, DISCLAIMER and PATENTS sections in the |
cannam@89 | 16 README file. |
cannam@89 | 17 |
cannam@89 | 18 This program is released under the terms of the license contained |
cannam@89 | 19 in the file LICENSE. |
cannam@89 | 20 ------------------------------------------------------------------ */ |
cannam@89 | 21 |
cannam@89 | 22 |
cannam@89 | 23 #include <stdio.h> |
cannam@89 | 24 |
cannam@89 | 25 int main () |
cannam@89 | 26 { |
cannam@89 | 27 int i; |
cannam@89 | 28 for (i = 0; i < 48500000 ; i++) |
cannam@89 | 29 putchar(251); |
cannam@89 | 30 return 0; |
cannam@89 | 31 } |