1*c12ab3f1Smaya /* $NetBSD: mk251.c,v 1.1.1.3 2019/07/21 11:35:30 maya Exp $ */ 24f9a1459Swiz 34f9a1459Swiz 44f9a1459Swiz /* Spew out a long sequence of the byte 251. When fed to bzip2 54f9a1459Swiz versions 1.0.0 or 1.0.1, causes it to die with internal error 64f9a1459Swiz 1007 in blocksort.c. This assertion misses an extremely rare 74f9a1459Swiz case, which is fixed in this version (1.0.2) and above. 84f9a1459Swiz */ 94f9a1459Swiz 104f9a1459Swiz /* ------------------------------------------------------------------ 114f9a1459Swiz This file is part of bzip2/libbzip2, a program and library for 124f9a1459Swiz lossless, block-sorting data compression. 134f9a1459Swiz 14*c12ab3f1Smaya bzip2/libbzip2 version 1.0.8 of 13 July 2019 15*c12ab3f1Smaya Copyright (C) 1996-2019 Julian Seward <jseward@acm.org> 164f9a1459Swiz 174f9a1459Swiz Please read the WARNING, DISCLAIMER and PATENTS sections in the 184f9a1459Swiz README file. 194f9a1459Swiz 204f9a1459Swiz This program is released under the terms of the license contained 214f9a1459Swiz in the file LICENSE. 224f9a1459Swiz ------------------------------------------------------------------ */ 234f9a1459Swiz 244f9a1459Swiz 254f9a1459Swiz #include <stdio.h> 264f9a1459Swiz main()274f9a1459Swizint main () 284f9a1459Swiz { 294f9a1459Swiz int i; 304f9a1459Swiz for (i = 0; i < 48500000 ; i++) 314f9a1459Swiz putchar(251); 324f9a1459Swiz return 0; 334f9a1459Swiz } 34