Re: Problem Building Cygwin PostgreSQL

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Problem Building Cygwin PostgreSQL
Дата
Msg-id 20000922130600.F18108@DP
обсуждение исходный текст
Ответ на Re: Problem Building Cygwin PostgreSQL  (Jason Tishler <Jason.Tishler@dothill.com>)
Список pgsql-ports
Volker,

On Thu, Sep 21, 2000 at 05:02:11PM -0400, Jason Tishler wrote:
> However, it does stackdump whenever I execute 'psql --help'.

The above was caused by the following in src/bin/psql/help.c:

    void
    usage(void)
    {
        ...
    #ifndef WIN32
        if (pw)
            free(pw);
    #endif
    }

Changing the above #ifndef to:

    #if !defined(WIN32) && !defined(__CYGWIN__)

fixed this niggling crash.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

В списке pgsql-ports по дате отправления:

Предыдущее
От: Pete Forman
Дата:
Сообщение: NT FAQ needs updating
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: Problem Building Cygwin PostgreSQL