38 l2l_dbg(1,
"Open of %s failed (locked for writing?), trying to copy first\n", iso);
51 l2l_dbg(0,
"\nCannot unpack %s (check 7z path!)\n", iso_tmp);
57 l2l_dbg(2,
"\nUnpacking reactos.cab in %s\n",
dir);
61 l2l_dbg(0,
"\nCannot unpack reactos.cab in %s\n",
dir);
91 if (check_iso &&
PATHCMP(check_iso,
".7z") == 0)
100 strcpy(compressed_7z_path,
".");
107 strcpy(check_iso,
".iso");
122 if (check_iso &&
PATHCMP(check_iso,
".iso") == 0)
179 l2l_dbg(2,
"** Create entry failed of: %s\n",
Line);
199 l2l_dbg(1,
"Apparently %s is not writable (mounted ISO?), using current dir\n",
tmp_name);
237 l2l_dbg(0,
"Creating cache ...");
257 if (*Fname && !skipImageBase)
260 fprintf(fw,
"%s|%s|%0x\n", Fname,
Line, (
unsigned int)ImageBase);
262 l2l_dbg(3,
"%s|%s|%0x, ERR=%d\n", Fname,
Line, (
unsigned int)ImageBase,
err);
char * strcat(char *DstString, const char *SrcString)
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
static BOOL file_exists(const WCHAR *file_name)
static void basename(LPCWSTR path, LPWSTR name)
static int check_dir(DOS_FS *fs, DOS_FILE **root, int dots)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
#define sprintf(buf, format,...)
#define create_cache(iid)
int __cdecl system(_In_opt_z_ const char *_Command)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)