[PATCH lib/libxtrans] If Socket is getting interrupted with signal EINTR, after re attempts we are closing socket connection, which is wrong.

2012-08-27 Thread Arvind Umrao
Code changes are integrated in Solaris and now I am trying to give back to community. If Socket is getting interrupted with signal EINTR, we should keep socket in progress state(TRANS_IN_PROGRESS) instead of trying again to connect(TRANS_TRY_CONNECT_AGAIN). When we close the socket connection on si

[PATCH:x11proto] Bug 51009: _X_RESTRICT_KYWD fix for g++ 4.6 & later on Solaris

2012-08-27 Thread Alan Coopersmith
g++ 4.6 & later on Solaris set the __STDC_VERSION__ define to indicate C99 mode to expose C99/Unix03 functions in the system headers, even though they don't recognize the C99 restrict keyword, as explained in http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01308.html Thus we avoid using the restrict

Re: [PULL v2] sigsafe logging and other fixes

2012-08-27 Thread Keith Packard
Peter Hutterer writes: > Peter Hutterer (8): > test: assert from signal-safe number conversion > test: add a few tests for signal-safe logging > Add FormatInt64 to convert signed integers in signal-safe manner > os: add support for %d and %i to pnprintf > os: don't b

Re: [PATCH xorg-gtest] aclocal: set the proper include path for the default source path

2012-08-27 Thread Chase Douglas
On 08/26/2012 05:58 PM, Peter Hutterer wrote: If a gtest source path is given, the include path is adjusted accordingly. If we fall back to the default /usr/src/gtest we only set the include path to -I/usr/src/gtest but none of the headers are there. Fix that by appending the right source path.

[PATCH xserver 1/1] test: Make os test more compliant

2012-08-27 Thread Jeremy Huddleston Sequoia
sighandler_t is not UNIX. Regression from: 7f09126e068015db54c56bb982b8f91065375700 Signed-off-by: Jeremy Huddleston Sequoia CC: Peter Hutterer --- test/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/os.c b/test/os.c index 8f1107d..2d005a0 100644 --- a/test/os.c

Re: [PATCH xserver 1/1] test: Make os test more compliant

2012-08-27 Thread Peter Hutterer
On Mon, Aug 27, 2012 at 05:18:58PM -0700, Jeremy Huddleston Sequoia wrote: > sighandler_t is not UNIX. > > Regression from: 7f09126e068015db54c56bb982b8f91065375700 > > Signed-off-by: Jeremy Huddleston Sequoia > CC: Peter Hutterer Reviewed-by: Peter Hutterer > --- > test/os.c | 2 +- > 1 f