[Python-checkins] python/dist/src/Parser myreadline.c,2.28,2.29
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 03 May 2003 02:14:55 -0700
- Previous message: [Python-checkins] python/dist/src/Misc NEWS,1.754,1.755
- Next message: [Python-checkins] python/dist/src/Modules bz2module.c,1.18,1.19 fcntlmodule.c,2.38,2.39 fpectlmodule.c,2.18,2.19 grpmodule.c,2.20,2.21 mmapmodule.c,2.44,2.45 posixmodule.c,2.298,2.299 socketmodule.c,1.262,1.263 socketmodule.h,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Parser
In directory sc8-pr-cvs1:/tmp/cvs-serv20733/Parser
Modified Files:
myreadline.c
Log Message:
Patch #708495: Port more stuff to OpenVMS.
Index: myreadline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/myreadline.c,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -d -r2.28 -r2.29
*** myreadline.c 26 Oct 2002 14:39:09 -0000 2.28
--- myreadline.c 3 May 2003 09:14:53 -0000 2.29
***************
*** 16,19 ****
--- 16,23 ----
#endif /* MS_WINDOWS */
+ #ifdef __VMS
+ extern char* vms__StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt);
+ #endif
+
int (*PyOS_InputHook)(void) = NULL;
***************
*** 160,164 ****
--- 164,172 ----
if (PyOS_ReadlineFunctionPointer == NULL) {
+ #ifdef __VMS
+ PyOS_ReadlineFunctionPointer = vms__StdioReadline;
+ #else
PyOS_ReadlineFunctionPointer = PyOS_StdioReadline;
+ #endif
}
- Previous message: [Python-checkins] python/dist/src/Misc NEWS,1.754,1.755
- Next message: [Python-checkins] python/dist/src/Modules bz2module.c,1.18,1.19 fcntlmodule.c,2.38,2.39 fpectlmodule.c,2.18,2.19 grpmodule.c,2.20,2.21 mmapmodule.c,2.44,2.45 posixmodule.c,2.298,2.299 socketmodule.c,1.262,1.263 socketmodule.h,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]