On Tue, Feb 23, 2010 at 10:29:15PM -0800, Ben Pfaff wrote:
> I might take a few hours to write code to create a .zip file.
> It looks like it's pretty trivial as long as you don't bother
> with actual compression. I think the hardest part is probably
> writing the CRC-32 function.
I did this tonight, so there is no need for a "zip" program on
master any longer.This seems to have caused a problem. tests/command/get-data-gnm.sh now crashes. It seems that the crc32 function provided by gnulib has a different signature to that expected by zlib :( Program received signal SIGSEGV, Segmentation fault. crc32_update_no_xor (crc=4294967295, buf=0x0, len=134590064) at crc.c:82 82 crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8); (gdb) bt #0 crc32_update_no_xor (crc=4294967295, buf=0x0, len=134590064) at crc.c:82 #1 0xb7fa4a3d in crc32_update (crc=0, buf=0x0, len=134590064) at crc.c:96 #2 0xb7fa4a7c in crc32 (buf=0x0, len=134590064) at crc.c:102 #3 0xb75ad629 in gzread () from /lib/libz.so.1 #4 0xb7d1d85f in xmlParserInputBufferGrow () from /usr/lib/libxml2.so.2 #5 0xb7daf763 in xmlNewTextReader () from /usr/lib/libxml2.so.2 #6 0xb7daf8cb in xmlReaderForIO () from /usr/lib/libxml2.so.2 #7 0xb7e801d8 in gnumeric_open_reader (gri=0xbfffeb3c, dict=0xbfffeb88) at src/data/gnumeric-reader.c:372 #8 0xb7f332d1 in cmd_get_data (lexer=0x8052a38, ds=0x80528b8) at src/language/data-io/get-data.c:230 #9 0xb7f05cba in cmd_parse_in_state (lexer=0x8052a38, ds=0x80528b8, state=CMD_STATE_INITIAL) at src/language/command.c:227 #10 0xb7f06598 in cmd_parse (lexer=0x8052a38, ds=0x80528b8) at src/language/command.c:158 #11 0x0804a530 in main (argc=2, argv=0xbfffed84) at src/ui/terminal/main.c:121 J -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
