| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <20000922180125.13815.qmail@web110.yahoomail.com> |
| Date: | Fri, 22 Sep 2000 11:01:25 -0700 (PDT) |
| From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
| Subject: | Re: Problem Building Cygwin PostgreSQL |
| To: | Jason Tishler <Jason DOT Tishler AT dothill DOT com>, |
| "Dr. 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 |
| MIME-Version: | 1.0 |
--- Jason Tishler <Jason DOT Tishler AT dothill DOT com> wrote:
> 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.
>
Hmm... This appears that it would potentially cause a memory leak. What
happens if instead of this patch you initialize the pointer to NULL?
Cheers,
=====
--- <http://earniesystems.safeshopper.com> ---
Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://gw32.freeyellow.com/>
__Minimalist GNU for Windows__
Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |