Staging
v0.8.1
https://github.com/python/cpython
Revision 2525dc8fb6ce87502b09bbf9965065ab296d9b07 authored by Brett Cannon on 22 August 2010, 20:36:25 UTC, committed by Brett Cannon on 22 August 2010, 20:36:25 UTC
variable the return value is assigned to is char *. Since the assigned-to
variable is never changed, simply make that a const char * and cast all calls
to get_history to const char * to silence the compiler warning (found with
LLVM).
1 parent 6a74da3
History
Tip revision: 2525dc8fb6ce87502b09bbf9965065ab296d9b07 authored by Brett Cannon on 22 August 2010, 20:36:25 UTC
Under OS X, history_get from readline returns a const char *, but the local
Tip revision: 2525dc8
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 538 bytes
.hgignore -rw-r--r-- 752 bytes
.hgtags -rw-r--r-- 3.7 KB
LICENSE -rw-r--r-- 14.2 KB
Makefile.pre.in -rw-r--r-- 40.2 KB
README -rw-r--r-- 6.7 KB
configure -rwxr-xr-x 390.5 KB
configure.in -rw-r--r-- 119.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.3 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 76.7 KB

README

back to top