Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix large file support, some sytems require config.h to be included e…

…arlier in the compilation.
  • Loading branch information...
commit 0f8a0248eee9c3c63c14fe9596e36a9a53c82211 1 parent 1e9aca5
Carl Byington authored
View
2  ChangeLog
@@ -2,6 +2,8 @@ LibPST 0.6.33 (2009-xx-xx)
===============================
* 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)
===============================
View
4 Doxyfile
@@ -423,7 +423,7 @@ WARN_LOGFILE =
# 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 @@ INCLUDE_FILE_PATTERNS =
# 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.
View
1  Makefile.cvs
@@ -8,6 +8,7 @@ all:
autoheader
automake
autoconf
+ ./configure >/dev/null
rm -rf html.internal
doxygen
tar cfz libpst.html.tar.gz html.internal
View
4 regression/regression-tests.bash
@@ -44,13 +44,13 @@ function dopst()
#../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
View
10 src/define.h
@@ -8,16 +8,14 @@
#ifndef DEFINEH_H
#define DEFINEH_H
-#include "libpst.h"
-#include "timeconv.h"
-#include "libstrfunc.h"
-#include "vbuf.h"
-
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "libpst.h"
+#include "timeconv.h"
+#include "libstrfunc.h"
+#include "vbuf.h"
#define DEBUG_MODE_GEN
#define DEBUGPRINT
View
1  src/libpst.c
@@ -3717,7 +3717,6 @@ size_t pst_ff_getIDblock(pst_file *pf, uint64_t id, char** buf) {
}
-#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;
Please sign in to comment.
Something went wrong with that request. Please try again.