diff options
author | ShyamsundarR <srangana@redhat.com> | 2018-07-30 20:16:21 -0400 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-08-16 06:10:44 +0000 |
commit | 9297e1950f76270e99c76970f57810e01e305a3b (patch) | |
tree | 9b1cf851e6d44341b0c391fa67a717ad0cb17235 /libglusterfs/src/compat.h | |
parent | 82e5acd6b30aabccb0a1e157dc633591c4919a3e (diff) |
contrib: Remove gf_mkostemp copied from GLibC
gf_mkostemp is borrowed from GLibC a long time back,
we now have mkostemp or mkstemp alternatives with all
distributions and versions that we care for.
As a result removing this from the contrib directory
and modifying the one instance that is still using the
same.
This is part of code cleanup as we cleaned up coverity
SECUR_TEMP errors.
Updates: bz#1193929
Change-Id: I1ad7863043cdb0845c53748f5a0522e767079130
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'libglusterfs/src/compat.h')
-rw-r--r-- | libglusterfs/src/compat.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 0c56fcc5cb9..e0ffe73926a 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -451,8 +451,6 @@ char *dirname_r(char *path); #define dirname(path) dirname_r(path) #endif /* THREAD_UNSAFE_DIRNAME */ -int gf_mkostemp (char *tmpl, int suffixlen, int flags); - #ifdef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC /* Linux, Solaris, Cygwin */ #define ST_ATIM_SEC(stbuf) ((stbuf)->st_atim.tv_sec) |