add "-append" argument to export_to_hdf5 function, fix some memory leaks in hdf5...
[scilab.git] / scilab / modules / hdf5 / sci_gateway / cpp / sci_import_from_hdf5.cpp
index f601c8a..df28b18 100644 (file)
@@ -60,7 +60,7 @@ int sci_import_from_hdf5(char *fname, unsigned long fname_len)
     int* piAddr = NULL;
     char* pstFilename = NULL;
     char* pstExpandedFilename = NULL;
-    bool bImport = false;
+    bool bImport = true;
 
     int iSelectedVar = Rhs - 1;
     bool bSelectedVar = false;