diff options
author | Derick Rethans <derick@php.net> | 2004-11-15 13:40:31 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2004-11-15 13:40:31 +0000 |
commit | 963d068fd522d3514218971d927c5a64a1c408cd (patch) | |
tree | ac69ccde2c29156c53a6a14169c509ebee167c30 /main/snprintf.c | |
parent | 189654d882393eb134fc8b812961b5e93bd63e76 (diff) | |
download | php-git-963d068fd522d3514218971d927c5a64a1c408cd.tar.gz |
- 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/snprintf.c')
-rw-r--r-- | main/snprintf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index b9383c57da..177ef46356 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -462,8 +462,6 @@ ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform) return (buf); } -#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || PHP_BROKEN_SNPRINTF || PHP_BROKEN_VSNPRINTF - /* * NUM_BUF_SIZE is the size of the buffer used for arithmetic conversions * @@ -988,8 +986,6 @@ int ap_php_vsnprintf(char *buf, size_t len, const char *format, va_list ap) return (cc); } -#endif /* HAVE_SNPRINTF */ - /* * Local variables: * tab-width: 4 |