[Development] QFile: writing via a temporary file

Oswald Buddenhagen oswald.buddenhagen at nokia.com
Fri Jan 6 16:19:53 CET 2012


On Fri, Jan 06, 2012 at 12:53:27PM +0000, ext shane.kearns at accenture.com wrote:
> > the mode is inherently incompatible with read-write without truncate.
> 
> Not necessarily, it could make sense to copy the original file to the
> temporary file in this case.
> 
i don't think we want that much abstraction. if you mmap, you are
usually dealing with rather big files, so better leave it up to the app
to implement its own rewind mechanism.



More information about the Development mailing list