[0.2a-4] windows can die in a fucking fire
This commit is contained in:
parent
1d173715ae
commit
66f45e17a1
@ -23,7 +23,7 @@
|
|||||||
#define VERSION_X 2
|
#define VERSION_X 2
|
||||||
#define VERSION_Y 0
|
#define VERSION_Y 0
|
||||||
#define VERSION_A 1
|
#define VERSION_A 1
|
||||||
#define VERSION_Z 3
|
#define VERSION_Z 4
|
||||||
// Remember to bump "Z" basically every time you change the engine!
|
// Remember to bump "Z" basically every time you change the engine!
|
||||||
// Remember to bump the version in Lua too!
|
// Remember to bump the version in Lua too!
|
||||||
// Remember to document API changes in a new version!
|
// Remember to document API changes in a new version!
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
-- Thanks. --GM
|
-- Thanks. --GM
|
||||||
|
|
||||||
VERSION_ENGINE = {
|
VERSION_ENGINE = {
|
||||||
cmp={0,2,0,1,3},
|
cmp={0,2,0,1,4},
|
||||||
num=8389632+3,
|
num=8389632+4,
|
||||||
str="0.2a-3",
|
str="0.2a-4",
|
||||||
}
|
}
|
||||||
|
|
||||||
--error(""..common.version.num)
|
--error(""..common.version.num)
|
||||||
@ -145,5 +145,6 @@ VERSION_BUGS = {
|
|||||||
{intro=8389632+1, fix=8389632+2, msg="Memory leak when reusing a VA in va_make"},
|
{intro=8389632+1, fix=8389632+2, msg="Memory leak when reusing a VA in va_make"},
|
||||||
{intro=8389632+1, fix=8389632+2, msg="VA API lacks support for textures"},
|
{intro=8389632+1, fix=8389632+2, msg="VA API lacks support for textures"},
|
||||||
{intro=8389632+2, fix=8389632+3, msg="Compat breakage with va_render_global and textures"},
|
{intro=8389632+2, fix=8389632+3, msg="Compat breakage with va_render_global and textures"},
|
||||||
|
{intro=4259840+11, fix=8389632+4, msg="[Win32] Needs a workaround for a bug in MinGW's execv function"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
11
src/lua.c
11
src/lua.c
@ -98,8 +98,15 @@ int icelua_fn_client_mk_sys_execv(lua_State *L)
|
|||||||
|
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if(main_oldcwd != NULL)
|
const char *follow = main_argv0;
|
||||||
_chdir(main_oldcwd);
|
while(*follow != '\x00')
|
||||||
|
{
|
||||||
|
if(*follow == '\\' || *follow == '/')
|
||||||
|
main_argv0 = follow+1;
|
||||||
|
|
||||||
|
follow++;
|
||||||
|
}
|
||||||
|
//if(main_oldcwd != NULL) _chdir(main_oldcwd);
|
||||||
#endif
|
#endif
|
||||||
printf("argv0: [%s]\n", main_argv0);
|
printf("argv0: [%s]\n", main_argv0);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user