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

Re: patches

From
PMPatrick Mauritz <oxygene@studentenbude.ath.cx>
Date
Sep 8, 2005, 10:11 UTC
Message-ID
<1126174268.723.10.camel@divert>
In-Reply-To
<7vr7c0xqhd.fsf@assigned-by-dhcp.cox.net>
On Thu, 2005-09-08 at 04:06, Junio C Hamano wrote:
> I would have appreciated if you said "Solaris portability patch"
> or somesuch on the subject line.
sorry, of course you're right..

the #ifndef __sun was done because getdomainname() doesn't exist on solaris. (just for clarification)

> Curious.  Doesn't the order of -l and -L/-R matter these days?

hmm.. no idea why it worked for me, but a test case fails now: better make that -L -R -l

> I am sympathetic to the reason why you need this, but if we go
> this route we should also do openssl as well.  I'd drop this
> part for now.

because on solaris there are lots of places where external libraries could be found (/usr/local/lib, /opt/csw/lib, whereever people who package themselves put them). ld.so.conf doesn't exist (same as on *bsd), so using -L and -R is the standard way of linking external libraries.

thanks, patrick mauritz

Previous: Junio C HamanoNext: Jason Riedy
Message 3 of 5 in “patches”
  1. Patrick MauritzSep 5, 2005
  2. Junio C HamanoSep 8, 2005
  3. Patrick MauritzSep 8, 2005
  4. Jason RiedySep 9, 2005
  5. getdomainname should be usable on SunOS with -lnslJunio C Hamano, Sep 12, 2005

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.