diff options
| author | Shane Kearns <shane.kearns@accenture.com> | 2010-10-18 14:15:39 (GMT) |
|---|---|---|
| committer | Shane Kearns <shane.kearns@accenture.com> | 2010-10-19 08:36:18 (GMT) |
| commit | 366d2ed09ebf5aa27171a46d723497e5aaa5dd06 (patch) | |
| tree | cacb6df98c2f147fe720e6ac37f95259da9f1788 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
| parent | 2e35e9c1eabe667798572457c61e1d1d1f373317 (diff) | |
| download | Qt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.zip Qt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.tar.gz Qt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.tar.bz2 | |
Implement seek beyond end of file for symbian
On Symbian, the Seek() function clamps to the end of file position if a
position beyond the end of file is given. Also the write functions which
take a position silently append at the end of file position if asked to
write to a start position beyond EOF.
To avoid this behaviour, we don't use seek but rather maintain our own
cursor position. When writing, we check if the cursor is beyond EOF and if
so extend the file using SetSize() before writing.
Reviewed-By: joao
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions
