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.21-357-gb40a4e1


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  b40a4e1a7bf7000018a8d1d1ee2f37f5c63e5a42 (commit)
      from  6c307927ac5c5c3e15774a1c63c9d8c41f3a8678 (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=b40a4e1a7bf7000018a8d1d1ee2f37f5c63e5a42

commit b40a4e1a7bf7000018a8d1d1ee2f37f5c63e5a42
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri May 15 16:50:09 2015 -0300

    Fix stdlib/tst-setcontext3 with dash [BZ#18418]
    
    This patch remove the non-portable array usage on tst-setcontext3.sh
    script.

diff --git a/ChangeLog b/ChangeLog
index 89a8df5..4a2878a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	[BZ #18418]
+	* stdlib/tst-setcontext3.sh: Remove non-portable array use.
+
 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #16352]
diff --git a/NEWS b/NEWS
index 77f6f5a..bfeb3a7 100644
--- a/NEWS
+++ b/NEWS
@@ -18,7 +18,7 @@ Version 2.22
   18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093, 18100, 18104,
   18110, 18111, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210,
   18211, 18217, 18220, 18221, 18247, 18287, 18319, 18333, 18346, 18397,
-  18409.
+  18409, 18418.
 
 * Cache information can be queried via sysconf() function on s390 e.g. with
   _SC_LEVEL1_ICACHE_SIZE as argument.
diff --git a/stdlib/tst-setcontext3.sh b/stdlib/tst-setcontext3.sh
index 6ad67a8..7bdca91 100644
--- a/stdlib/tst-setcontext3.sh
+++ b/stdlib/tst-setcontext3.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 # Bug 18125: Test the exit functionality of setcontext().
 # Copyright (C) 2015 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
@@ -29,14 +29,12 @@ test_pre="${test_program_prefix_before_env} ${run_program_env}"
 test="${test_program_prefix_after_env} ${objpfx}tst-setcontext3"
 out=${objpfx}tst-setcontext3.out
 
-tempfiles=()
 cleanup() {
-  rm -f "${tempfiles[@]}"
+  rm -f $tempfile
 }
 trap cleanup 0
 
 tempfile=$(mktemp "tst-setcontext3.XXXXXXXXXX")
-tempfiles+=("$tempfile")
 
 # We want to run the test program and see if secontext called
 # exit() and wrote out the test file we specified.  If the

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

Summary of changes:
 ChangeLog                 |    5 +++++
 NEWS                      |    2 +-
 stdlib/tst-setcontext3.sh |    6 ++----
 3 files changed, 8 insertions(+), 5 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]