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
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
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
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.
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
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