-
- Downloads
Fix issue with DIZ extraction creating subdirs in temp
For archives with directories, the first call to extract_files_from_archive() from extract_diz() would create sub-directories in the target (temp) directory, but no files within them. To correctly solve the original problem identified in commit 79a302f4, introduce/use a new 'recurse' argument to extract_files_from_archive() which means to recursively apply the file_list filter (if specified). Always pass 'with_path' argument as false to prevent sub-dir creation. The JS Archive.extract() method now excepts an additional boolean argument (recurse) following the file list arguments, default is false. Remove extra whitespace in Archive JSDOC method descriptions to be consistent with other object/class docs.
Showing
- src/sbbs3/filedat.c 9 additions, 4 deletionssrc/sbbs3/filedat.c
- src/sbbs3/filedat.h 1 addition, 1 deletionsrc/sbbs3/filedat.h
- src/sbbs3/js_archive.c 14 additions, 10 deletionssrc/sbbs3/js_archive.c
- src/sbbs3/pack_qwk.cpp 1 addition, 0 deletionssrc/sbbs3/pack_qwk.cpp
- src/sbbs3/pack_rep.cpp 1 addition, 0 deletionssrc/sbbs3/pack_rep.cpp
- src/sbbs3/sbbsecho.c 1 addition, 1 deletionsrc/sbbs3/sbbsecho.c
- src/sbbs3/un_qwk.cpp 1 addition, 0 deletionssrc/sbbs3/un_qwk.cpp
- src/sbbs3/un_rep.cpp 1 addition, 0 deletionssrc/sbbs3/un_rep.cpp
Loading
Please register or sign in to comment