changeset 2708:1a2af74bef2f icedtea-3.2.0pre01

PR3126: pax-mark-vm script calls "exit -1" which is invalid in dash 2016-08-04 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3126: pax-mark-vm script calls "exit -1" which is invalid in dash * NEWS: Updated. * pax-mark-vm.in: Use POSIX-compliant exit value.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Thu, 04 Aug 2016 19:02:35 +0100
parents c1a63e43bbbc
children 6256ddee0e67
files ChangeLog NEWS pax-mark-vm.in
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 04 18:17:39 2016 +0100
+++ b/ChangeLog	Thu Aug 04 19:02:35 2016 +0100
@@ -1,3 +1,11 @@
+2016-08-04  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	PR3126: pax-mark-vm script calls "exit -1" which
+	is invalid in dash
+	* NEWS: Updated.
+	* pax-mark-vm.in:
+	Use POSIX-compliant exit value.
+
 2015-07-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	PR3127, G590348: Only apply PaX markings
--- a/NEWS	Thu Aug 04 18:17:39 2016 +0100
+++ b/NEWS	Thu Aug 04 19:02:35 2016 +0100
@@ -17,6 +17,7 @@
   - S8162384, PR3122: Performance regression: bimorphic inlining may be bypassed by type speculation
 * Bug fixes
   - PR3123: Some object files built without -fPIC on x86 only
+  - PR3126: pax-mark-vm script calls "exit -1" which is invalid in dash
   - PR3127, G590348: Only apply PaX markings by default on running PaX kernels
 
 New in release 3.1.0 (2016-07-25):
--- a/pax-mark-vm.in	Thu Aug 04 18:17:39 2016 +0100
+++ b/pax-mark-vm.in	Thu Aug 04 19:02:35 2016 +0100
@@ -17,7 +17,7 @@
     else
 	if test "x${FAIL_ON_ERROR}" = "xtrue"; then
 	    echo "ERROR: Could not apply PaX markings to files in ${JDK}";
-	    exit -1;
+	    exit 1;
 	else
 	    echo "WARNING: Could not apply PaX markings to files in ${JDK}";
 	fi