Re: [PATCH] Add Tru64/OSF1 support in Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/31/2010 11:29 AM, Brandon Casey wrote:
> On 03/30/2010 01:22 PM, Tor Arntsen wrote:

>> +	SHELL_PATH = /bin/ksh
> 
> Can you run the test suite with this ksh?  If it suffers from
> the same exit status behavior of ksh on IRIX and SunOS, then
> I have a patch which allows the test suite to run.
> 
> Also, I wonder if it suffers from the same trap handling that
> ksh has on SunOS.
> 
>> +	BASIC_CFLAGS += -D_POSIX_C_SOURCE=1 -D_OSF_SOURCE=1
>> +	BASIC_CFLAGS += -pthread
> 
> There is a PTHREAD_LIBS variable and it seems there is precedent
> for setting it to -pthread in the FreeBSD section.

heh, must have copy/pasted to the wrong place and hastily sent
this email.  This snippet of shell script below is supposed to be
up there after the sentence about trap handling of ksh on SunOS.

> Namely, the following shell snippet should exit 0, but does not
> on SunOS's ksh:
> 
>    (atrap () { exit 0; }
>     func3 () { exit 1; }
>     func2 () { func3; }
>     func1 () { trap atrap EXIT; func2; }
>     func1)

-brandon
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]