summaryrefslogtreecommitdiff
path: root/main/snprintf.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-11-15 13:40:31 +0000
committerDerick Rethans <derick@php.net>2004-11-15 13:40:31 +0000
commit963d068fd522d3514218971d927c5a64a1c408cd (patch)
treeac69ccde2c29156c53a6a14169c509ebee167c30 /main/snprintf.c
parent189654d882393eb134fc8b812961b5e93bd63e76 (diff)
downloadphp-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.c4
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