• Neal Norwitz's avatar
    Fix %zd string formatting on Mac OS X so it prints negative numbers. · 4a8fbdb1
    Neal Norwitz yazdı
    In addition to testing positive numbers, verify negative numbers work in configure.
    In order to avoid compiler warnings on OS X 10.4, also change the order of the check
    for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
    for Py_ssize_t.  This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
    defined at configure time.  Need to verify the buildbot results.
    
    Backport candidate (if everyone thinks this patch can't be improved).
    4a8fbdb1
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
PCbuild8 Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...