# [PATCH] Bug #28371 (Different behaviour of fopen depending on r+,w+,a+)

- Thread: https://externals.io/message/12348
- Original archive: https://news-web.php.net/php.internals/12348
- Started by mg@iceni.pl on 2004-08-25T23:20:30+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #12348 — mg@iceni.pl — 2004-08-25T23:20:30+00:00

URL: https://externals.io/message/12348#12348

Hi,
here's a patch proposal for bug #28371. 
 `ftruncate()` doesn't update file position and all further writes go to the old 
location. (or is it an undocumented feature?)

-- 
mg

---

## #12463 — Derick Rethans — 2004-08-30T09:07:07+00:00

URL: https://externals.io/message/12348#12463 · In reply to: #12348

Wez,

your comments please? :)

Derick




> Hi,
> here's a patch proposal for bug #28371.
> `ftruncate()` doesn't update file position and all further writes go to the old
> location. (or is it an undocumented feature?)
>
>

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
