Re: [current] readline breakage

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [current] readline breakage
Date: 2001-06-17 10:08:59
Message-ID: Pine.LNX.4.30.0106171205420.758-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jason Tishler writes:

> Shouldn't the declaration for filename_completion_function() be picked up
> via readline.h? IMO, redeclaring functions especially from an external
> library (i.e., readline) is generally not considered good programming
> practice.

It should, but on some systems it evidently isn't. But since on Cygwin a
correct import/export decorated declaration should be in the header files,
would a second declaration without those attributes override or otherwise
interfere with that? Otherwise I might have to stick it back covered by
some #ifdef's.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2001-06-17 12:40:14 The NOTICE messages
Previous Message Nathan Myers 2001-06-17 09:58:09 Re: Doing authentication in backend