From fe2d9051918af6c07f0e3d5fc60358981e5e2a0a Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 21 Feb 2010 23:18:16 +0000 Subject: Compilation fixes git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@477 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/zbin/minizip/miniunz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'updater/zbin/minizip/miniunz.c') diff --git a/updater/zbin/minizip/miniunz.c b/updater/zbin/minizip/miniunz.c index f851c0a..463f3e8 100644 --- a/updater/zbin/minizip/miniunz.c +++ b/updater/zbin/minizip/miniunz.c @@ -498,8 +498,8 @@ int unzip_file(const char *zipfilename, const char *out_dir) } } - getcwd(current_dir, MAX_PATH); - if (chdir(out_dir)) + _getcwd(current_dir, MAX_PATH); + if (_chdir(out_dir)) { printf("Error changing into %s, aborting\n", out_dir); return 1; @@ -516,7 +516,7 @@ int unzip_file(const char *zipfilename, const char *out_dir) unzClose(uf); - chdir(current_dir); + _chdir(current_dir); return ret; } -- cgit v1.2.3