return false;
}
- PRINT("[DirCreate] Checking directory: %s\n", path);
+ // PRINT("[DirCreate] Checking directory: %s\n", path);
struct stat info;
// 检查目录是否存在
if (stat(path, &info) != 0) {
- PRINT("[DirCreate] Directory does not exist, creating...\n");
+ // PRINT("[DirCreate] Directory does not exist, creating...\n");
// 目录不存在,尝试创建
if (mkdir(path, 0755) != 0) {
return false;
}
- PRINT("[DirCreate] SUCCESS: Directory created: %s\n", path);
+ // PRINT("[DirCreate] SUCCESS: Directory created: %s\n", path);
return true;
}
// 检查是否为目录
if (info.st_mode & S_IFDIR) {
- PRINT("[DirCreate] Directory already exists: %s\n", path);
+ // PRINT("[DirCreate] Directory already exists: %s\n", path);
return true;
}
break;
}
- printf("[uapi_epo_lzma_decompress] Extracted: %s (%u bytes) [batch: %s]\n",
- output_path, file_size, current_batch_ts);
+ // printf("[uapi_epo_lzma_decompress] Extracted: %s (%u bytes) [batch: %s]\n",
+ // output_path, file_size, current_batch_ts);
extracted_count++;
}