[Python-checkins] CVS: python/dist/src/Modules readline.c,2.35,2.36
Guido van Rossum
gvanrossum@users.sourceforge.net
2001年7月10日 09:45:34 -0700
- Previous message: [Python-checkins] CVS: python/dist/src acconfig.h,1.49,1.50 config.h.in,2.97,2.98 configure,1.215,1.216 configure.in,1.223,1.224
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0253.txt,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv16111/Modules
Modified Files:
readline.c
Log Message:
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.36
diff -C2 -r2.35 -r2.36
*** readline.c 2001年04月13日 18:14:27 2.35
--- readline.c 2001年07月10日 16:45:32 2.36
***************
*** 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 acconfig.h,1.49,1.50 config.h.in,2.97,2.98 configure,1.215,1.216 configure.in,1.223,1.224
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0253.txt,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]