Libsquash v0.6.0
- add
enclose_io_ifextract(const char* path, const char* ext_name) - add
enclose_io_if(const char* path) - fix a NULL-dereferencing in
EncloseIOFindFirstFileHelper - convert macro
ENCLOSE_IO_DOS_RETURNto a function - rename
squash_global_fdtable_mutextosquash_global_mutex - intercept
mkdir()- redirect
mkdir()inside the memfs to a temporary directory - removes the temporary directory and files at exit
- redirect
- intercept
open()withO_CREAT- redirect
open()withO_CREATinside the memfs to a temporary directory - removes the temporary directory and files at exit
- redirect
Translations in Chinese:
- 添加新 API
enclose_io_ifextract(const char* path, const char* ext_name) - 添加新 API
enclose_io_if(const char* path) - 修复
EncloseIOFindFirstFileHelper中的一个空指针解引用 - 将宏
ENCLOSE_IO_DOS_RETURN改写为函数调用 - 将全局锁
squash_global_fdtable_mutex重命名为squash_global_mutex - 劫持
mkdir()系统调用- 对于那些试图在只读的内存文件系统中进行
mkdir()的系统调用转发到临时文件夹 - 让程序退出时删除此临时文件夹和其中的所有文件
- 对于那些试图在只读的内存文件系统中进行
- 劫持带有
O_CREATflag 的open()系统调用- 将那些试图在只读的内存文件系统中进行带有
O_CREATflag 的open()系统调用转发到临时文件夹 - 让程序退出时删除此临时文件夹和其中的所有文件
- 将那些试图在只读的内存文件系统中进行带有