Re: UW 713UP3 patch - Mailing list pgsql-patches

From Larry Rosenman
Subject Re: UW 713UP3 patch
Date
Msg-id 7450000.1068024911@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: UW 713UP3 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches

--On Wednesday, November 05, 2003 04:23:35 -0500 Bruce Momjian
<pgman@candle.pha.pa.us> wrote:

> Peter Eisentraut wrote:
>> Larry Rosenman writes:
>>
>> > You can reduce the example down to
>> >
>> >     extern char *strcpy(char *, const char *);
>> >
>> >     static void f(char *p, int n){
>> >             strcpy(p+n,"");
>> >     }
>> >     void g(void){
>> >             f(0, 0);
>> >     }
>> >
>> > compile with cc -O -Kinline
>>
>> I've installed a test based on this and checked off UnixWare on the
>> supported platforms list.
>
> Another idea would have been to just grep the include file for the
> version define.  :-)
>
It's not in an include, it's done automagiclly by the compiler.

LER

> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
> 19073



--
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-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: equal() perf tweak
Next
From: Tom Lane
Date:
Subject: Re: equal() perf tweak