Re: UnixWare on Current CVS: Success! - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: UnixWare on Current CVS: Success!
Date
Msg-id 55490000.1061779914@lerlaptop.lerctr.org
Whole thread Raw
In response to UnixWare on Current CVS: Success!  (Larry Rosenman <ler@lerctr.org>)
Responses Re: UnixWare on Current CVS: Success!
List pgsql-hackers

--On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

>
> OK, I now realized this code is shell script, not Makefile content.
>
> Code changed to:
>
>     THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
Ok, but we are **STILL** broke for the --enable-thread-safety flag due to 
your commit
requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions, even 
though all
UnixWare has is the getpwuid_r function.

Please either revert that requirement, or apply a patch to allow UnixWare 
to compile with
--enable-thread-safety by making the change to src/port/thread.c to use a 
HAVE_GETPWUID_R flag, and arrange for configure to set that flag.

Thanks,
LER

>
>
> -------------------------------------------------------------------------
> --
>
> Larry Rosenman wrote:
>> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
>>
>> I included what DID work for me.
>>
>> LER
>>
>>
>> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
>> <pgman@candle.pha.pa.us> wrote:
>>
>> > Larry Rosenman wrote:
>> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
>> >>
>> >> > Did something changed on today's cvs.
>> >> >
>> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
>> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
>> >> No it shouldn't....
>> >>
>> >> The original patch worked just fine...
>> >>
>> >> I'll look when I get back from Forum.
>> >
>> > I changed the define to be:
>> >
>> >     THREAD_CFLAGS += "-D_REENTRANT"
>> >
>> > Do the quotations help?
>>
>>
>>
>> --
>> 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



-- 
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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: "truncate all"?
Next
From: Bruce Momjian
Date:
Subject: Re: UnixWare on Current CVS: Success!