Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed typo ensuring header str is \0 terminated
This commit is contained in:
Anatol Belski 2013-07-16 00:15:29 +02:00
commit 54b740a7e1

View File

@ -1055,7 +1055,7 @@ static inline void strcpy_gmt(char *ubuf, time_t *when) /* {{{ */
res = php_gmtime_r(when, &tm);
if (!res) {
buf[0] = '\0';
ubuf[0] = '\0';
return;
}