This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.22-179-g64d9cfd
- From: ldv at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 27 Aug 2015 12:50:25 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.22-179-g64d9cfd
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 64d9cfd90e8f24815f5c99dc994ea0dacf773304 (commit)
from fff289f358ee26bb4cdd70f72f4b1b0e1a7d07a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=64d9cfd90e8f24815f5c99dc994ea0dacf773304
commit 64d9cfd90e8f24815f5c99dc994ea0dacf773304
Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Sun Aug 9 11:11:36 2015 +0200
Mention mkdtemp as another secure alternative to mktemp
[BZ #2898]
* misc/mktemp.c: Add mkdtemp to the link_warning message.
Based on patch by Aurelien Jarno.
diff --git a/ChangeLog b/ChangeLog
index 5132b96..fdc05c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
+
+ [BZ #2898]
+ * misc/mktemp.c: Add mkdtemp to the link_warning message.
+ Based on patch by Aurelien Jarno.
+
2015-08-26 Stan Shebs <stanshebs@google.com>
* sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
diff --git a/NEWS b/NEWS
index 5ef1a40..1fe70e2 100644
--- a/NEWS
+++ b/NEWS
@@ -9,10 +9,10 @@ Version 2.23
* The following bugs are resolved with this release:
- 14341, 16517, 16519, 16520, 16734, 16973, 17787, 17905, 18084, 18086,
- 18240, 18265, 18370, 18421, 18480, 18525, 18610, 18618, 18647, 18661,
- 18674, 18681, 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820,
- 18823, 18824, 18863.
+ 2898, 14341, 16517, 16519, 16520, 16734, 16973, 17787, 17905, 18084,
+ 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18610, 18618, 18647,
+ 18661, 18674, 18681, 18778, 18781, 18787, 18789, 18790, 18795, 18796,
+ 18820, 18823, 18824, 18863.
* The obsolete header <regexp.h> has been removed. Programs that require
this header must be updated to use <regex.h> instead.
diff --git a/misc/mktemp.c b/misc/mktemp.c
index fc82ede..763dee8 100644
--- a/misc/mktemp.c
+++ b/misc/mktemp.c
@@ -33,4 +33,5 @@ __mktemp (template)
}
weak_alias (__mktemp, mktemp)
-link_warning (mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")
+link_warning (mktemp, "the use of `mktemp' is dangerous, "
+ "better use `mkstemp' or `mkdtemp'")
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 8 ++++----
misc/mktemp.c | 3 ++-
3 files changed, 12 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources