summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 17:58:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 17:58:33 (GMT)
commit081625c6102b8e0e3b9e7a69253650fc1ff5ea4e (patch)
treed43007b37098b49ebb231a7dbc1a00f7d3fc3366 /Source/cmSystemTools.cxx
parent416bbaef53359b2a354897328877668d7bcd8fea (diff)
downloadCMake-081625c6102b8e0e3b9e7a69253650fc1ff5ea4e.zip
CMake-081625c6102b8e0e3b9e7a69253650fc1ff5ea4e.tar.gz
CMake-081625c6102b8e0e3b9e7a69253650fc1ff5ea4e.tar.bz2
COMP: Use mangle names
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 91af585..f7ea1ef 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1398,7 +1398,7 @@ static int gzopen_frontend(char *pathname, int oflags, int mode)
}
#endif
- gzf = gzdopen(fd, gzoflags);
+ gzf = cm_zlib_gzdopen(fd, gzoflags);
if (!gzf)
{
errno = ENOMEM;
@@ -1417,8 +1417,8 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector<cmStdSt
char buf[TAR_MAXPATHLEN];
char pathname[TAR_MAXPATHLEN];
- tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) gzclose,
- (readfunc_t) gzread, (writefunc_t) gzwrite
+ tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) cm_zlib_gzclose,
+ (readfunc_t) cm_zlib_gzread, (writefunc_t) cm_zlib_gzwrite
};
// Ok, this libtar is not const safe. for now use auto_ptr hack
@@ -1477,8 +1477,8 @@ bool cmSystemTools::ExtractTar(const char* outFileName, const std::vector<cmStdS
#if defined(CMAKE_BUILD_WITH_CMAKE)
TAR *t;
- tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) gzclose,
- (readfunc_t) gzread, (writefunc_t) gzwrite
+ tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) cm_zlib_gzclose,
+ (readfunc_t) cm_zlib_gzread, (writefunc_t) cm_zlib_gzwrite
};
// Ok, this libtar is not const safe. for now use auto_ptr hack
@@ -1521,8 +1521,8 @@ bool cmSystemTools::ListTar(const char* outFileName, std::vector<cmStdString>& f
#if defined(CMAKE_BUILD_WITH_CMAKE)
TAR *t;
- tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) gzclose,
- (readfunc_t) gzread, (writefunc_t) gzwrite
+ tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) cm_zlib_gzclose,
+ (readfunc_t) cm_zlib_gzread, (writefunc_t) cm_zlib_gzwrite
};
// Ok, this libtar is not const safe. for now use auto_ptr hack