From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | strerror_r and gethostbyname_r? |
Date: | 2003-08-23 02:23:57 |
Message-ID: | 437790000.1061605437@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Attachment | Content-Type | Size |
---|---|---|
unixware.patch | application/octet-stream | 471 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2003-08-23 02:48:55 | Re: Single-file DBs WAS: Need concrete "Why Postgres |
Previous Message | Stephan Szabo | 2003-08-23 01:29:08 | Re: Collation rules and multi-lingual databases |