Re: Problem Building Cygwin PostgreSQL - Mailing list pgsql-ports

From Jason Tishler
Subject Re: Problem Building Cygwin PostgreSQL
Date
Msg-id 20000922130600.F18108@DP
Whole thread Raw
In response to Re: Problem Building Cygwin PostgreSQL  (Jason Tishler <Jason.Tishler@dothill.com>)
List 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 by date:

Previous
From: Pete Forman
Date:
Subject: NT FAQ needs updating
Next
From: Jason Tishler
Date:
Subject: Re: Problem Building Cygwin PostgreSQL