summaryrefslogtreecommitdiff
path: root/main/snprintf.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/snprintf.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/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 fa0e7f1e88..e0804b07d7 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -466,8 +466,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
*
@@ -1157,8 +1155,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