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 master updated. glibc-2.20-329-gacf869f


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  acf869f4bcc1750da9a04371690d107c0d7a3189 (commit)
      from  9d96909913249f7b1ff9f503f8fa8abc458089a9 (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=acf869f4bcc1750da9a04371690d107c0d7a3189

commit acf869f4bcc1750da9a04371690d107c0d7a3189
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Dec 11 16:00:49 2014 +0100

    Constify string parameters

diff --git a/ChangeLog b/ChangeLog
index 37da9a7..8ded7cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-11  Andreas Schwab  <schwab@suse.de>
+
+	* elf/rtld.c (struct map_args): Constify str member.
+	(do_preload): Constify fname argument.
+
 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
diff --git a/elf/rtld.c b/elf/rtld.c
index 76c57f0..fb02ecd 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -441,7 +441,7 @@ struct relocate_args
 struct map_args
 {
   /* Argument to map_doit.  */
-  char *str;
+  const char *str;
   struct link_map *loader;
   int mode;
   /* Return value of map_doit.  */
@@ -651,7 +651,7 @@ _dl_initial_error_catch_tsd (void)
 
 
 static unsigned int
-do_preload (char *fname, struct link_map *main_map, const char *where)
+do_preload (const char *fname, struct link_map *main_map, const char *where)
 {
   const char *objname;
   const char *err_str = NULL;

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

Summary of changes:
 ChangeLog  |    5 +++++
 elf/rtld.c |    4 ++--
 2 files changed, 7 insertions(+), 2 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]