[Liblas-commits] hg: zip writer issue fixed, all tests passing now
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed May 11 14:26:28 EDT 2011
details: http://hg.liblas.orghg/rev/38919ae3cad4
changeset: 2937:38919ae3cad4
user: Michael P. Gerlek <mpg at flaxen.com>
date: Wed May 11 11:26:21 2011 -0700
description:
zip writer issue fixed, all tests passing now
diffstat:
src/detail/writer/zipwriter.cpp | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r b891385ec5e7 -r 38919ae3cad4 src/detail/writer/zipwriter.cpp
--- a/src/detail/writer/zipwriter.cpp Wed May 11 10:48:16 2011 -0700
+++ b/src/detail/writer/zipwriter.cpp Wed May 11 11:26:21 2011 -0700
@@ -119,6 +119,19 @@
bool ok = false;
try
{
+ //ok = m_zip->setup(m_zipPoint->m_num_items, m_zipPoint->m_items);
+ ok = m_zip->setup((int)format, m_header->GetDataRecordLength());
+ }
+ catch(...)
+ {
+ throw liblas_error("Error opening compression core (3)");
+ }
+ if (!ok)
+ {
+ throw liblas_error("Error opening compression core (2)");
+ }
+ try
+ {
ok = m_zip->pack(m_zipPoint->vlr_data, m_zipPoint->vlr_num);
}
catch(...)
More information about the Liblas-commits
mailing list