strerror_r and gethostbyname_r? - Mailing list pgsql-hackers

From Larry Rosenman
Subject strerror_r and gethostbyname_r?
Date
Msg-id 437790000.1061605437@lerlaptop.lerctr.org
Whole thread Raw
Responses Re: strerror_r and gethostbyname_r?
List pgsql-hackers
How can I --enable-thread-safety and JUST need the getpwuid_r function and
not the strerror_r and gethostbyname_r function?

UnixWare doesn't have strerror_r and gethostbyname_r, and we DONT NEED THEM!

Please help me fix this.

Also, Olivier is right, there is an issue with the unixware template.

the below fixes that issue.

(what is running the template file??, which Shell or GMAKE?)


Index: src/template/unixware
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/template/unixware,v
retrieving revision 1.15
diff -u -r1.15 unixware
--- src/template/unixware    16 Aug 2003 15:35:51 -0000    1.15
+++ src/template/unixware    23 Aug 2003 02:22:11 -0000
@@ -11,4 +11,4 @@

 SUPPORTS_THREADS=yes
 NEED_REENTRANT_FUNC_NAMES=yes
-THREAD_CFLAGS += -D_REENTRANT
+THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Collation rules and multi-lingual databases
Next
From: Lamar Owen
Date:
Subject: Re: Single-file DBs WAS: Need concrete "Why Postgres