This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch google/grte/v5-2.27/master updated. glibc-2.27-175-ged93530


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, google/grte/v5-2.27/master has been updated
       via  ed935307ba907c987053e17e9c64a0cdbad80524 (commit)
      from  76b10c797e21b386befff7210f266e4f4499b8c4 (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=ed935307ba907c987053e17e9c64a0cdbad80524

commit ed935307ba907c987053e17e9c64a0cdbad80524
Author: Brooks Moses <bmoses@google.com>
Date:   Thu Jun 12 21:59:51 2014 -0700

    Forward-port cl/42676407 to disable link-time warning about mktemp, tempnam and tmpnam.

diff --git a/misc/mktemp.c b/misc/mktemp.c
index 1417ab3..87a7f49 100644
--- a/misc/mktemp.c
+++ b/misc/mktemp.c
@@ -32,5 +32,7 @@ __mktemp (char *template)
 }
 weak_alias (__mktemp, mktemp)
 
+#if 0  /* Google-local: b/6115789  */
 link_warning (mktemp, "the use of `mktemp' is dangerous, "
 		      "better use `mkstemp' or `mkdtemp'")
+#endif
diff --git a/stdio-common/tempnam.c b/stdio-common/tempnam.c
index 5e64482..c3b4863 100644
--- a/stdio-common/tempnam.c
+++ b/stdio-common/tempnam.c
@@ -39,5 +39,7 @@ tempnam (const char *dir, const char *pfx)
   return __strdup (buf);
 }
 
+#if 0  /* Google-local: b/6115789  */
 link_warning (tempnam,
 	      "the use of `tempnam' is dangerous, better use `mkstemp'")
+#endif
diff --git a/stdio-common/tmpnam.c b/stdio-common/tmpnam.c
index 9b0b611..152575f 100644
--- a/stdio-common/tmpnam.c
+++ b/stdio-common/tmpnam.c
@@ -47,5 +47,7 @@ tmpnam (char *s)
   return s;
 }
 
+#if 0  /* Google-local: b/6115789  */
 link_warning (tmpnam,
 	      "the use of `tmpnam' is dangerous, better use `mkstemp'")
+#endif

-----------------------------------------------------------------------

Summary of changes:
 misc/mktemp.c          |    2 ++
 stdio-common/tempnam.c |    2 ++
 stdio-common/tmpnam.c  |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]