Re: UW 713UP3 patch

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: UW 713UP3 patch
Дата
Msg-id 472710000.1067900978@lerlaptop-red.iadfw.net
обсуждение исходный текст
Ответ на Re: UW 713UP3 patch  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: UW 713UP3 patch  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches

--On Monday, November 03, 2003 23:24:19 +0100 Peter Eisentraut
<peter_e@gmx.net> wrote:

> Larry Rosenman writes:
>
>> > I'll try and write the patch as you suggest.
>> Here's a patch as you suggested:
>
> Isn't there a way to write a test that actually triggers the bug we're
> trying to work around?
Here is what the SCO Folks said when I reported this back in August:

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

that will trip it.

I still think that using the __SCO_VERSION__ preprocessor symbol is the
better idea.



>
> --
> Peter Eisentraut   peter_e@gmx.net



--
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-patches по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: UW 713UP3 patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: equal() perf tweak