Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
081625c6
Commit
081625c6
authored
Dec 30, 2005
by
Andy Cedilnik
Browse files
COMP: Use mangle names
parent
416bbaef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmSystemTools.cxx
View file @
081625c6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment