summaryrefslogtreecommitdiff
path: root/main/php_sprintf.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-11-15 13:42:22 +0000
committerDerick Rethans <derick@php.net>2004-11-15 13:42:22 +0000
commit61364b5bb172fa512c871b795c2613b1b587e4cd (patch)
tree82676582a2c985bc64ae291336b37d40b011eebb /main/php_sprintf.c
parent48fe8cf7bc6d73dfc8d1524c78412a7d2fadeb17 (diff)
downloadphp-git-61364b5bb172fa512c871b795c2613b1b587e4cd.tar.gz
- MFH4.3: Cleaned up some of the locale mess:
* all internal use of sprintf, snprintf and the like will always use the . as thousands seperator (if php.h is included only!). * echo, printf() and sprintf() always render locale-aware * added the %F modifier for non-locale aware rendering for floats
Diffstat (limited to 'main/php_sprintf.c')
-rw-r--r--main/php_sprintf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/php_sprintf.c b/main/php_sprintf.c
index f7daab2952..b0589c20a2 100644
--- a/main/php_sprintf.c
+++ b/main/php_sprintf.c
@@ -26,8 +26,6 @@
#include "php_config.h"
#endif
-#if PHP_BROKEN_SPRINTF
-
int
php_sprintf (char*s, const char* format, ...)
{
@@ -43,8 +41,6 @@ php_sprintf (char*s, const char* format, ...)
return strlen (s);
}
-#endif /* PHP_BROKEN_SPRINTF */
-
/*
* Local variables:
* tab-width: 4