diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-02-21 23:18:16 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-02-21 23:18:16 +0000 |
commit | fe2d9051918af6c07f0e3d5fc60358981e5e2a0a (patch) | |
tree | e0647b1a2b55ff941d0335c90a910248879a1c51 | |
parent | 8f5a7b54eb953bbfc877ec915e26b3a95ec28d00 (diff) |
Compilation fixes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@477 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | updater/zbin/minizip/miniunz.c | 6 |
1 files changed, 3 insertions, 3 deletions
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;
}
|