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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-ports by date

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