[PATCH] trap: Implement POSIX.1-2008 trap reset behaviour (#2)

2015-12-07 Thread Jonathan Perkin
]) || (is_number(*ap))) action = NULL; else action = *ap++; -- 2.4.9 (Apple Git-60) -- Jonathan Perkin - Joyent, Inc. - www.joyent.com -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majord...@vger.

[PATCH] [SHELL] Fix build on Solaris 9

2015-12-11 Thread Jonathan Perkin
}' echo '};' @@ -97,7 +101,7 @@ cat <<\! */ ! -sed 's/-[a-z]*//' $temp2 | nl -b a -v 0 | +sed 's/-[a-z]*//' $temp2 | nl -ba -v0 | LC_ALL= LC_COLLATE=C sort -u -k 3,3 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | awk '{ printf "

[PATCH] [SHELL] Fix 64-bit Solaris build

2015-12-11 Thread Jonathan Perkin
t64, fstat, [64-bit operations are the same as 32-bit]) + AC_DEFINE(lstat64, lstat, [64-bit operations are the same as 32-bit]) + AC_DEFINE(stat64, stat, [64-bit operations are the same as 32-bit]) + ]) ]) AC_CHECK_FUNC(open64,, [ -- 2.4.9 (Apple Git-60) --

Re: [SHELL] Fix 64-bit Solaris build

2016-06-06 Thread Jonathan Perkin
* On 2016-06-06 at 15:27 BST, Herbert Xu wrote: > On Fri, Dec 11, 2015 at 01:07:14PM +0000, Jonathan Perkin wrote: > > In a 64-bit Solaris environment there is no stat64() function, only > > stat(). This conflicts with the stat64 #define used to support > > dietl