Changeset 35632
- Timestamp:
- 2021-10-18T17:33:52+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/linux/wrapper.cpp
r35568 r35632 15 15 #include "wrapper.h" 16 16 #include "libsearch4j.h" 17 bool extract_bundled_file( const char[], int, c har*, bool );17 bool extract_bundled_file( const char[], int, const char*, bool ); 18 18 #else 19 19 bool prep_java( string wd ); … … 125 125 //extract files 126 126 cout << "Extracting installer jar..." << endl; 127 succeeded = extract_bundled_file( greenstonejar, sizeof(greenstonejar), (char*)jarfile.c_str(), false);127 succeeded = extract_bundled_file( greenstonejar, sizeof(greenstonejar), jarfile.c_str(), false); 128 128 129 129 #ifdef java_is_bundled 130 130 cout << "Preparing Greenstone installer..." << endl; 131 succeeded = extract_bundled_file( java, sizeof(java), (char*)javafile.c_str(), true ) && succeeded;131 succeeded = extract_bundled_file( java, sizeof(java), javafile.c_str(), true ) && succeeded; 132 132 #endif 133 133 … … 219 219 } 220 220 #ifndef CDROM 221 bool extract_bundled_file( const char data[], int size, c har* filename, bool make_executable) {221 bool extract_bundled_file( const char data[], int size, const char* filename, bool make_executable) { 222 222 223 223 if ( size == 0 ) return false;
Note:
See TracChangeset
for help on using the changeset viewer.