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 hjl/dynamic-test updated. glibc-2.16-ports-merge-450-g0c6573b


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, hjl/dynamic-test has been updated
       via  0c6573bfa572e16c380f4e93e8409abe942c067f (commit)
      from  04b46f459c1a7e4b30cecee893b6e9bb84af048c (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0c6573bfa572e16c380f4e93e8409abe942c067f

commit 0c6573bfa572e16c380f4e93e8409abe942c067f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Oct 8 10:52:22 2012 -0700

    Don't call execve with ld.so

diff --git a/ChangeLog.dynamic-test b/ChangeLog.dynamic-test
index bedd0ce..196898e 100644
--- a/ChangeLog.dynamic-test
+++ b/ChangeLog.dynamic-test
@@ -1,5 +1,8 @@
 2012-10-08  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* localedata/bug-setlocale1.c (do_test): Don't call execve with
+	ld.so.
+
 	* Makeconfig (+link-pie-before-libc): New.
 	(+link-pie-after-libc): Likewise.
 	(+link-pie-tests): Likewise.
diff --git a/localedata/bug-setlocale1.c b/localedata/bug-setlocale1.c
index cf787be..85e7325 100644
--- a/localedata/bug-setlocale1.c
+++ b/localedata/bug-setlocale1.c
@@ -11,17 +11,14 @@ do_test (int argc, char *argv[])
 {
   if (argc > 1)
     {
-      char *newargv[5];
-      asprintf (&newargv[0], "%self/ld.so", argv[1]);
+      char *newargv[2];
       if (newargv[0] == NULL)
 	{
 	  puts ("asprintf failed");
 	  return 1;
 	}
-      newargv[1] = (char *) "--library-path";
-      newargv[2] = argv[1];
-      newargv[3] = argv[0];
-      newargv[4] = NULL;
+      newargv[0] = argv[0];
+      newargv[1] = NULL;
 
       char *env[3];
       env[0] = (char *) "LC_CTYPE=de_DE.UTF-8";

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

Summary of changes:
 ChangeLog.dynamic-test      |    3 +++
 localedata/bug-setlocale1.c |    9 +++------
 2 files changed, 6 insertions(+), 6 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]