Mailing List Archive

python/dist/src/Modules readline.c,2.47,2.48
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv22252/Modules

Modified Files:
readline.c
Log Message:
#544265, Remove warnings for passing const to free()

Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.47
retrieving revision 2.48
diff -C2 -d -r2.47 -r2.48
*** readline.c 31 Mar 2002 16:13:39 -0000 2.47
--- readline.c 21 Apr 2002 15:03:18 -0000 2.48
***************
*** 271,275 ****
return NULL;
}
! free(rl_completer_word_break_characters);
rl_completer_word_break_characters = strdup(break_chars);
Py_INCREF(Py_None);
--- 271,275 ----
return NULL;
}
! free((void*)rl_completer_word_break_characters);
rl_completer_word_break_characters = strdup(break_chars);
Py_INCREF(Py_None);