On Sep 14, 2012, at 6:55 PM, Elan Ruusamäe <[email protected]> wrote:
> On 14/09/12 21:16, Jeffrey Johnson wrote: >> Sh*t happens. > yeah, rpm 4.5 (and 4.4.9 and 4.4.2) took the dump if i first 256 bytes > contained 0x7f..0xff byte > > here's test spec for it: > http://git.pld-linux.org/?p=packages/test.git;a=blob;f=test.spec;h=4d2bb35f8683e15bd3fc7069d5431cc649738678;hb=7451100f7d57d6866078b5a8a24962cec7e505a2 > > don't remember went this through mailing lists earlier or not > The check for isprint(3) in the 1st 256b of a *.spec is reported every couple of years, yes. The reason for the (rather naive) check is to catch n00b package monkey errors like rpmbuild -ba /dev/random so that an error msg can be displayed. First reported by PLD (like many other bugs) years ago with this comment (which I still carry around proudly at build.c:73 ;-) /* * Kurwa, durni ameryka?ce sobe zawsze my?l?, ?e ca?y ?wiat mówi po * angielsku... */ hth 73 de Jeff _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
