summaryrefslogtreecommitdiff
path: root/main/php_sprintf.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-11-15 13:41:41 +0000
committerDerick Rethans <derick@php.net>2004-11-15 13:41:41 +0000
commit1a1713a4c7c1e62425165c7ee82e6cf9efff5500 (patch)
tree812b9f5dae98ef30caad1c9d4f818cb3404a01fa /main/php_sprintf.c
parentaf05fce6b6bceb0e460333e685bdfe0c32715ec5 (diff)
downloadphp-git-1a1713a4c7c1e62425165c7ee82e6cf9efff5500.tar.gz
- MF4.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