Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

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

From: Brandon Casey <hidden>
Date: 2016-06-15 22:48:32

On 03/31/2010 11:29 AM, Brandon Casey wrote:
On 03/30/2010 01:22 PM, Tor Arntsen wrote:
quoted
+	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.
quoted
+	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help