summaryrefslogtreecommitdiff
path: root/ext/ncurses/php_ncurses.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-12-22 18:05:36 +0000
committerWez Furlong <wez@php.net>2002-12-22 18:05:36 +0000
commitefea12fec5078c4a168e4f85e80ec71d1b764c23 (patch)
treee144198bfc66811d018aa0525ca3e8013536203a /ext/ncurses/php_ncurses.h
parent20e8bc31f0c6ac9cc2b9452de388a1899f25f3d5 (diff)
downloadphp-git-efea12fec5078c4a168e4f85e80ec71d1b764c23.tar.gz
Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that
the stream position was at offset 0. This corrects that assumption by querying the stream for it's position when it detects the 'a' "flag" in the mode parameter to fopen. Also added a test for plain files and amended the userstreams test to take this into account.
Diffstat (limited to 'ext/ncurses/php_ncurses.h')
0 files changed, 0 insertions, 0 deletions