Fixed bug #26938 (exec() has problems reading long lines).

This commit is contained in:
Ilia Alshanetsky 2004-01-21 16:57:13 +00:00
parent 02ded9766a
commit 17d420e5f7
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -9,6 +9,8 @@ PHP NEWS
(Derick)
- Fixed problems with longlong values in mysqli. (Georg)
- Fixed class name case preserving of user defined classes. (Marcus)
- Fixed bug #26938 (exec() has problems reading long lines).
(Ilia, runekl[at]opoint[dot]com
- Fixed bug #26947 (ext/dom: Crash when using DomDocument::getElementById()).
(Christian)
- Fixed bug #26911 (crash in sqlite extension when fetching data from empty

View File

@ -125,7 +125,7 @@ int php_exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC)
}
continue;
} else if (b != buf) {
bufl += buflen - EXEC_INPUT_BUF;
bufl += b - buf;
}
if (type == 1) {