new ca bundle

This commit is contained in:
David Rose 2011-08-25 21:20:50 +00:00
parent 9dfa6e2905
commit 5ebc96d531
4 changed files with 16316 additions and 5044 deletions

View File

@ -220,7 +220,7 @@
#define TARGET make_ca_bundle
#define LOCAL_LIBS $[LOCAL_LIBS] express
#define OTHER_LIBS pystub
#define OTHER_LIBS dtoolutil:c dtool:m pystub
#define SOURCES \
make_ca_bundle.cxx
@ -231,7 +231,7 @@
#begin test_bin_target
#define TARGET test_types
#define LOCAL_LIBS $[LOCAL_LIBS] express
#define OTHER_LIBS pystub
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
#define SOURCES \
test_types.cxx
@ -246,7 +246,7 @@
test_ordered_vector.cxx
#define LOCAL_LIBS $[LOCAL_LIBS] putil
#define OTHER_LIBS $[OTHER_LIBS] pystub
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
#end test_bin_target
@ -256,7 +256,7 @@
#define TARGET test_zstream
#define USE_PACKAGES zlib
#define LOCAL_LIBS $[LOCAL_LIBS] express
#define OTHER_LIBS dtoolutil:c dtool:m pystub
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
#define SOURCES \
test_zstream.cxx

File diff suppressed because it is too large Load Diff

View File

@ -254,7 +254,7 @@ main() {
// Testing PointerToArray.
PointerToArray<int> iarray(10);
PointerToArray<int> iarray = PointerToArray<int>::empty_array(10);
memset(iarray, 0, sizeof(int)*10);
for (int i = 0; i < 10; i++) {

View File

@ -67,7 +67,7 @@ zlib_decompress(istream &source) {
while (result == Z_BUF_ERROR) {
dest_len *= 2;
cerr << "Increasing buffer size to " << dest_len << "\n";
dest = PANDA_REALLOC_ARRAY(dest, dest_len);
dest = (char *)PANDA_REALLOC_ARRAY(dest, dest_len);
actual_dest_len = dest_len;
result = uncompress((Bytef *)dest, &actual_dest_len,