Re: YA readline 4.2 patch
От | Jason Tishler |
---|---|
Тема | Re: YA readline 4.2 patch |
Дата | |
Msg-id | 20010606140319.H524@dothill.com обсуждение исходный текст |
Ответ на | Re: YA readline 4.2 patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-patches |
Tom, On Wed, Jun 06, 2001 at 01:46:14PM -0400, Tom Lane wrote: > Jason Tishler <Jason.Tishler@dothill.com> writes: > > The attached patch enables PostgreSQL CVS to build cleanly under Cygwin > > when built against readline 4.2. > > I'm confused. The current code already builds cleanly against readline > 4.2. Why do we need to change it? For the following reasons: 1. The current code does *not* build cleanly against readline 4.2 under Cygwin. 2. The current code is using a deprecate function, filename_completion_function(), which as of readline 4.2, is no longer declared in readline.h: #if 0 /* Backwards compatibility (compat.c). These will go away sometime. */ ... extern READLINE_EXPORT(char, *filename_completion_function) ... #endif This is why it is (locally) declared on line 63 of src/bin/psql/tab-complete.c. 3. Peter has already committed changes to CVS to handle completion_matches() in exactly the same way. 4. Sometime in the future (readline 4.3?), this will have to be dealt with when filename_completion_function() is finally removed from readline. Jason -- Jason Tishler Director, Software Engineering Phone: 732.264.8770 x235 Dot Hill Systems Corp. Fax: 732.264.8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
В списке pgsql-patches по дате отправления: