git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
BCBrandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
Date
Apr 1, 2010, 15:47 UTC
Message-ID
<k1zDoDCu8fS7Dsy98IBzvAeSfBRw0mOYNtxTGUiBGfWOumW0yfxTqA@cipher.nrlssc.navy.mil>
In-Reply-To
<DA8Or5TA0_betHA0BMcLIT0so7oVjDK6CYr4x1LCiX60SEmuPqVnXg@cipher.nrlssc.navy.mil>
On 03/31/2010 11:29 AM, Brandon Casey wrote:
> On 03/30/2010 01:22 PM, Tor Arntsen wrote:
Show 14 quoted lines
>> +	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.

Show 8 quoted lines
> 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
Previous: Brandon CaseyNext: Tor Arntsen
Message 5 of 12 in “Add Tru64/OSF1 support in Makefile”
  1. Add Tru64/OSF1 support in MakefileTor Arntsen, Mar 30, 2010
  2. Junio C HamanoMar 30, 2010
  3. Tor ArntsenMar 31, 2010
  4. Brandon CaseyMar 31, 2010
  5. Brandon CaseyApr 1, 2010
  6. Tor ArntsenApr 2, 2010
  7. Brandon CaseyApr 2, 2010
  8. Tor ArntsenApr 2, 2010
  9. t/test-lib.sh: support Korn shell by converting GIT_EXIT_OK to GIT_EXIT_CODEBrandon Casey, Apr 2, 2010
  10. Tor ArntsenApr 23, 2010
  11. Brandon CaseyMay 21, 2010
  12. Tor ArntsenMay 26, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.