[Python-checkins] CVS: python/dist/src/Modules readline.c,2.35,2.35.2.1
Thomas Wouters
twouters@users.sourceforge.net
Wed, 11 Jul 2001 05:18:26 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test/output test_socketserver,NONE,1.1.2.1
- Next message: [Python-checkins] CVS: python/dist/src acconfig.h,1.46,1.46.2.1 config.h.in,2.91.2.1,2.91.2.2 configure,1.207.2.1,1.207.2.2 configure.in,1.215.2.1,1.215.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv6445/Modules
Modified Files:
Tag: release21-maint
readline.c
Log Message:
Backport of Guido's checkins of acconfig.h (1.50), configure.in (1.224) and
readline.c (2.36), and re-generated config.h.in and configure:
SF Patch #432457 by Jason Tishler: support for readline 4.2.
This patch allows the readline module to build cleanly with GNU
readline 4.2 without breaking the build for earlier GNU readline
versions. The configure script checks for the presence of
rl_completion_matches in libreadline.
Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.35
retrieving revision 2.35.2.1
diff -C2 -r2.35 -r2.35.2.1
*** readline.c 2001/04/13 18:14:27 2.35
--- readline.c 2001/07/11 12:18:24 2.35.2.1
***************
*** 22,25 ****
--- 22,29 ----
#include <readline/history.h>
+ #ifdef HAVE_RL_COMPLETION_MATCHES
+ #define completion_matches(x, y) rl_completion_matches((x), ((rl_compentry_func_t *)(y)))
+ #endif
+
/* Pointers needed from outside (but not declared in a header file). */
extern DL_IMPORT(int) (*PyOS_InputHook)(void);
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test/output test_socketserver,NONE,1.1.2.1
- Next message: [Python-checkins] CVS: python/dist/src acconfig.h,1.46,1.46.2.1 config.h.in,2.91.2.1,2.91.2.2 configure,1.207.2.1,1.207.2.2 configure.in,1.215.2.1,1.215.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]