From e1508efb4514a37efff8403c3ea9e55ff105e364 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 24 Oct 2002 19:17:08 +0000 Subject: [PATCH] fix compiler warning?: implement default mentioned by manual --- ext/standard/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/file.c b/ext/standard/file.c index 1e10984cca..44d604eb34 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1310,7 +1310,7 @@ PHP_FUNCTION(stream_set_timeout) PHPAPI PHP_FUNCTION(fgets) { zval **arg1, **arg2; - int len; + int len = 1024; char *buf = NULL; int argc = ZEND_NUM_ARGS(); size_t line_len = 0; -- 2.50.1