comparison src/testdebug.c @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents f66078abed38
children ab2a11e72250
comparison
equal deleted inserted replaced
117:0a3d854b53f6 118:0f1492b7fe8b
2 2
3 #include <stdlib.h> 3 #include <stdlib.h>
4 #include <string.h> 4 #include <string.h>
5 5
6 #define BUF_SIZE 100000 6 #define BUF_SIZE 100000
7 int main() { 7 int main(int argc, const char** argv) {
8 char *x = xmalloc(BUF_SIZE); // 10k 8 char *x = xmalloc(BUF_SIZE); // 10k
9 memset(x, '.', BUF_SIZE-1); 9 memset(x, '.', BUF_SIZE-1);
10 x[BUF_SIZE-2]='P'; 10 x[BUF_SIZE-2]='P';
11 x[BUF_SIZE-1]='\0'; 11 x[BUF_SIZE-1]='\0';
12 12