comparison src/dumpblocks.c @ 172:6954d315aaa8

move version-info into main configure.in, and set it properly. prefix all external symbols in the shared library with pst_ to avoid symbol clashes with other shared libraries.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 04 Apr 2009 16:00:48 -0700
parents ab384fed78c5
children d588dafd03e8
comparison
equal deleted inserted replaced
171:6c1e75bc4cac 172:6954d315aaa8
50 printf("Failed to change into directory %s\n", outdir); 50 printf("Failed to change into directory %s\n", outdir);
51 exit(1); 51 exit(1);
52 } 52 }
53 53
54 ptr = pstfile.i_head; 54 ptr = pstfile.i_head;
55 outname = (char *) xmalloc(OUT_BUF); 55 outname = (char *) pst_malloc(OUT_BUF);
56 printf("Saving blocks\n"); 56 printf("Saving blocks\n");
57 while (ptr != NULL) { 57 while (ptr != NULL) {
58 /* if (pstfile.encryption == PST_ENC) { 58 /* if (pstfile.encryption == PST_ENC) {
59 c = pst_ff_getIDblock_dec(&pstfile, ptr->i_id, buf); 59 c = pst_ff_getIDblock_dec(&pstfile, ptr->i_id, buf);
60 } else { */ 60 } else { */