[0.2a-5] if anyone complains about this fix tell them to get a real OS

This commit is contained in:
Ben Russell (300178622) 2015-02-07 15:05:21 +13:00
parent 404c8bf619
commit dadc4b968f
4 changed files with 8 additions and 17 deletions

View File

@ -23,7 +23,7 @@
#define VERSION_X 2
#define VERSION_Y 0
#define VERSION_A 1
#define VERSION_Z 4
#define VERSION_Z 5
// Remember to bump "Z" basically every time you change the engine!
// Remember to bump the version in Lua too!
// Remember to document API changes in a new version!

View File

@ -20,9 +20,9 @@
-- Thanks. --GM
VERSION_ENGINE = {
cmp={0,2,0,1,4},
num=8389632+4,
str="0.2a-4",
cmp={0,2,0,1,5},
num=8389632+5,
str="0.2a-5",
}
--error(""..common.version.num)
@ -145,7 +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="VA API lacks support for 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"},
{intro=4259840+11, fix=nil, msg="[Win32] Needs a better workaround for a bug in MSVCRT's execv function"},
{intro=4259840+11, fix=8389632+5, msg="[Win32] Needs a workaround for a bug in MSVCRT's execv function"},
}

View File

@ -98,19 +98,11 @@ int icelua_fn_client_mk_sys_execv(lua_State *L)
SDL_Quit();
#ifdef WIN32
const char *follow = main_argv0;
while(*follow != '\x00')
{
if(*follow == '\\' || *follow == '/')
main_argv0 = follow+1;
follow++;
}
//if(main_oldcwd != NULL) _chdir(main_oldcwd);
main_argv0 = "iceball.exe"; // fuck it
#endif
printf("argv0: [%s]\n", main_argv0);
fflush(stdout);
execv(main_argv[0], arglist);
execv(main_argv0, arglist);
printf("WORK YOU FUCKASS: %s\n", strerror(errno));
fflush(stdout);

View File

@ -1,6 +1,6 @@
#!/bin/sh
export ZIPNAME=nubdist/iceball-indev-0.2a-3.zip
export ZIPNAME=nubdist/iceball-indev-0.2a-5.zip
zip -r $ZIPNAME *.dll *.exe *.txt opencmd.bat docs/ \
clsave/config.json \