summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2002-04-27 15:23:46 +0000
committerSebastian Bergmann <sebastian@php.net>2002-04-27 15:23:46 +0000
commit90bad130a9800ee785793c49d6bc77cf93f448ec (patch)
tree4596e4f0f7b4ac8628a9035f60ca16106c56fecb /ext/mysql/php_mysql.c
parent2dee392e5bbbc1238edc4eaa27b28d501357314a (diff)
downloadphp-git-90bad130a9800ee785793c49d6bc77cf93f448ec.tar.gz
MFZE1: If the size-operands of memset are constants, the compiler can turn them into fast inline code. So, instead of using ecalloc, we use emalloc + memset in macro form now. emalloc will not return NULL, so the chosen macro form is safe. This is not true for malloc(3). An inline function accomodates our needs here. Suggested by: http://www.mail-archive.com/dev%40httpd.apache.org/msg02492.html (Sascha)
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions