• Tim Peters's avatar
    mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to · faad5ad5
    Tim Peters yazdı
    use wrappers on all platforms, to make this as consistent as possible x-
    platform (in particular, make sure there's at least one \0 byte in
    the output buffer).  Also document more of the truth about what these do.
    
    getargs.c, seterror():  Three computations of remaining buffer size were
    backwards, thus telling PyOS_snprintf the buffer is larger than it
    actually is.  This matters a lot now that PyOS_snprintf ensures there's a
    trailing \0 byte (because it didn't get the truth about the buffer size,
    it was storing \0 beyond the true end of the buffer).
    
    sysmodule.c, mywrite():  Simplify, now that PyOS_vsnprintf guarantees to
    produce a \0 byte.
    faad5ad5
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...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
acconfig.h 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...