diff options
author | Andreas Schwab <schwab@suse.de> | 2013-01-15 14:36:09 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2013-01-16 15:57:11 +0100 |
commit | cfa8054fbb6212e64d54a3d4926972a6a20e3498 (patch) | |
tree | b5412874124a4ee94b998480a919ae901d2db896 /nptl | |
parent | f93a8d15699ee699282465dc1e03e033f3fabb52 (diff) | |
download | glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.gz glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.bz2 glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.zip |
Hide reference to mktemp in libpthread
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sem_open.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 4aacc17e99..c4f6c630cc 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 5bc56c5bd9..83b2fdf472 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. */ |