# HG changeset patch # User Carl Byington # Date 1237232611 25200 # Node ID 03fbb0269f3cd59ce91c8df5c0a064e85c2e36da # Parent 6cb85306e28abdb991e64cc7c96614400f16a835 fix large file support, some sytems require config.h to be included earlier in the compilation. diff -r 6cb85306e28a -r 03fbb0269f3c ChangeLog --- a/ChangeLog Sat Mar 14 19:25:17 2009 -0700 +++ b/ChangeLog Mon Mar 16 12:43:31 2009 -0700 @@ -2,6 +2,8 @@ =============================== * fix fedora 11 type mismatch warning (actually an error in this case). + * fix large file support, some sytems require config.h to be included + earlier in the compilation. LibPST 0.6.32 (2009-03-14) =============================== diff -r 6cb85306e28a -r 03fbb0269f3c Doxyfile --- a/Doxyfile Sat Mar 14 19:25:17 2009 -0700 +++ b/Doxyfile Mon Mar 16 12:43:31 2009 -0700 @@ -423,7 +423,7 @@ # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = src +INPUT = config.h src # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp @@ -958,7 +958,7 @@ # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = +PREDEFINED = HAVE_CONFIG_H # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. diff -r 6cb85306e28a -r 03fbb0269f3c Makefile.cvs --- a/Makefile.cvs Sat Mar 14 19:25:17 2009 -0700 +++ b/Makefile.cvs Mon Mar 16 12:43:31 2009 -0700 @@ -8,6 +8,7 @@ autoheader automake autoconf + ./configure >/dev/null rm -rf html.internal doxygen tar cfz libpst.html.tar.gz html.internal diff -r 6cb85306e28a -r 03fbb0269f3c regression/regression-tests.bash --- a/regression/regression-tests.bash Sat Mar 14 19:25:17 2009 -0700 +++ b/regression/regression-tests.bash Mon Mar 16 12:43:31 2009 -0700 @@ -44,13 +44,13 @@ #../src/getidblock -d -p $fn 0 >$ba.fulldump #../src/readpstlog -f I getidblock.log >$ba.fulldump.log - rm -f dumper + #rm -f dumper } val="valgrind --leak-check=full" -val='' +#val='' pushd .. make || exit diff -r 6cb85306e28a -r 03fbb0269f3c src/define.h --- a/src/define.h Sat Mar 14 19:25:17 2009 -0700 +++ b/src/define.h Mon Mar 16 12:43:31 2009 -0700 @@ -8,17 +8,15 @@ #ifndef DEFINEH_H #define DEFINEH_H +#ifdef HAVE_CONFIG_H + #include "config.h" +#endif + #include "libpst.h" #include "timeconv.h" #include "libstrfunc.h" #include "vbuf.h" - -#ifdef HAVE_CONFIG_H - #include "config.h" -#endif - - #define DEBUG_MODE_GEN #define DEBUGPRINT #define DEBUG_MODE_WARN diff -r 6cb85306e28a -r 03fbb0269f3c src/libpst.c --- a/src/libpst.c Sat Mar 14 19:25:17 2009 -0700 +++ b/src/libpst.c Mon Mar 16 12:43:31 2009 -0700 @@ -3717,7 +3717,6 @@ } -#define PST_PTR_BLOCK_SIZE 0x120 size_t pst_ff_getID2block(pst_file *pf, uint64_t id2, pst_id2_ll *id2_head, char** buf) { size_t ret; pst_id2_ll* ptr;