Skip site navigation (1) Skip section navigation (2)

Re: Problem Building Cygwin PostgreSQL

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: "Dr(dot) Volker Zell" <Dr(dot)Volker(dot)Zell(at)oracle(dot)com>
Cc: Cygwin <cygwin(at)sources(dot)redhat(dot)com>, pgsql-ports(at)postgresql(dot)org
Subject: Re: Problem Building Cygwin PostgreSQL
Date: 2000-09-22 17:06:00
Message-ID: 20000922130600.F18108@DP (view raw or flat)
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

In response to

pgsql-ports by date

Next:From: Jason TishlerDate: 2000-09-22 19:50:51
Subject: Re: Problem Building Cygwin PostgreSQL
Previous:From: Pete FormanDate: 2000-09-22 15:23:46
Subject: NT FAQ needs updating

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group