aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-01-15 14:36:09 +0100
committerAndreas Schwab <schwab@suse.de>2013-01-16 15:57:11 +0100
commitcfa8054fbb6212e64d54a3d4926972a6a20e3498 (patch)
treeb5412874124a4ee94b998480a919ae901d2db896 /nptl
parentf93a8d15699ee699282465dc1e03e033f3fabb52 (diff)
downloadglibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.zip
glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.gz
glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.bz2
Hide reference to mktemp in libpthread
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sem_open.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 4aacc17..c4f6c63 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-16 Andreas Schwab <schwab@suse.de>
+
+ [BZ #14327]
+ * sem_open.c (sem_open): Use __mktemp instead of mktemp.
+
2013-01-11 Carlos O'Donell <codonell@redhat.com>
* allocatestack.c (allocate_stack): Add comment. Remove assert
diff --git a/nptl/sem_open.c b/nptl/sem_open.c
index 5bc56c5..83b2fdf 100644
--- a/nptl/sem_open.c
+++ b/nptl/sem_open.c
@@ -329,7 +329,7 @@ sem_open (const char *name, int oflag, ...)
since the file must be opened with a specific mode. The
mode cannot later be set since then we cannot apply the
file create mask. */
- if (mktemp (tmpfname) == NULL)
+ if (__mktemp (tmpfname) == NULL)
return SEM_FAILED;
/* Open the file. Make sure we do not overwrite anything. */