1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 17:43:13 +02:00

What the heck is CUT? Assume someone meant UTC here. And fix a

warning.
This commit is contained in:
Rasmus Lerdorf
2001-02-09 15:28:23 +00:00
parent 279588aa12
commit 4877d13ffa
2 changed files with 3 additions and 3 deletions

View File

@@ -521,7 +521,7 @@ PHP_FUNCTION(date)
/* }}} */
/* {{{ proto string gmdate(string format [, int timestamp])
Format a GMT/CUT date/time */
Format a GMT/UTC date/time */
PHP_FUNCTION(gmdate)
{
php_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
@@ -762,7 +762,7 @@ PHP_FUNCTION(strftime)
/* }}} */
/* {{{ proto string gmstrftime(string format [, int timestamp])
Format a GMT/CUT time/date according to locale settings */
Format a GMT/UCT time/date according to locale settings */
PHP_FUNCTION(gmstrftime)
{
_php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);

View File

@@ -2083,7 +2083,7 @@ size_t php_fread_all(char **buf, int socket, FILE *fp, int issock) {
ptr = *buf = emalloc(step);
max_len = step;
while(ret = FP_FREAD(ptr, max_len - len, socket, fp, issock)) {
while((ret = FP_FREAD(ptr, max_len - len, socket, fp, issock))) {
len += ret;
if(len + min_room >= max_len) {
*buf = erealloc(*buf, max_len + step);