summaryrefslogtreecommitdiff
path: root/updater/bzip2-1.0.3/bzlib.c
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-11-10 06:40:29 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-11-10 06:40:29 +0000
commit20fc2744f36e2d93bde52e255fd56812eb35bda8 (patch)
treea070ce941bd1c8e83538a1f682fa78fb4c23064e /updater/bzip2-1.0.3/bzlib.c
parent2a63014742e62d7d036ba1009ced1a50cab16e93 (diff)
Updated bzip2 to version 1.0.6
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@554 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/bzip2-1.0.3/bzlib.c')
-rw-r--r--updater/bzip2-1.0.3/bzlib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/updater/bzip2-1.0.3/bzlib.c b/updater/bzip2-1.0.3/bzlib.c
index ccc9afa..bd358a7 100644
--- a/updater/bzip2-1.0.3/bzlib.c
+++ b/updater/bzip2-1.0.3/bzlib.c
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
@@ -1375,7 +1375,7 @@ const char * BZ_API(BZ2_bzlibVersion)(void)
#if defined(_WIN32) || defined(OS2) || defined(MSDOS)
# include <fcntl.h>
# include <io.h>
-# define SET_BINARY_MODE(file) _setmode(_fileno(file),O_BINARY)
+# define SET_BINARY_MODE(file) setmode(fileno(file),O_BINARY)
#else
# define SET_BINARY_MODE(file)
#endif
@@ -1428,7 +1428,7 @@ BZFILE * bzopen_or_bzdopen
#ifdef BZ_STRICT_ANSI
fp = NULL;
#else
- fp = _fdopen(fd,mode2);
+ fp = fdopen(fd,mode2);
#endif
}
if (fp == NULL) return NULL;