sprintf weirdness

From: Date: Tue, 31 Aug 1999 13:42:45 +0000
Subject: sprintf weirdness
Groups: php.version4 
Request: Send a blank email to php-version4+get-3905@lists.php.net to get a copy of this message
hi, i think our BROKEN_SPRINTF marco is kinda useless (see Bug id #2033) i think we should use sprintf in the code and if BROKEN_SPRINTF is set we #define sprintf php_sprintf this define should be in php.h as you'll get no warning if you forget to #include "snprintf.h" -> which will end up in something like #2033 the other approach would be to always use php_sprintf - but that would be "more" typing... ? tc Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#3905) next »