Fixed assorted updater bugs (bug 3697, r=pred, a121=blocking).
This commit is contained in:
parent
2c7555366f
commit
c0ee2ce345
@ -136,7 +136,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=".,..\include"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;BUILDING_LIBCURL;CURL_STATICLIB"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;BUILDING_LIBCURL;CURL_STATICLIB;CURL_DISABLE_LDAP"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
|
@ -64,7 +64,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\curl-src\lib\LIB-Release\libcurl.lib ws2_32.lib"
|
||||
AdditionalDependencies="..\curl-src\lib\LIB-Debug\libcurld.lib ws2_32.lib"
|
||||
OutputFile="$(OutDir)\webternet.ext.dll"
|
||||
LinkIncremental="2"
|
||||
IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
|
||||
|
@ -139,7 +139,7 @@ static void PumpUpdate(void *data)
|
||||
smutils->BuildPath(Path_SM, path, sizeof(path), "gamedata/%s", part->file);
|
||||
if (libsys->IsPathDirectory(path))
|
||||
{
|
||||
continue;
|
||||
goto skip_create;
|
||||
}
|
||||
if (!libsys->CreateFolder(path))
|
||||
{
|
||||
@ -157,7 +157,7 @@ static void PumpUpdate(void *data)
|
||||
if (fp == NULL)
|
||||
{
|
||||
AddUpdateError("Could not open %s for writing", path);
|
||||
return;
|
||||
goto skip_create;
|
||||
}
|
||||
if (fwrite(part->data, 1, part->length, fp) != part->length)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user