You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/11/03 20:11:41 UTC

[Issue 61277] Basic open file with random access erases all data

https://bz.apache.org/ooo/show_bug.cgi?id=61277

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan@apache.org
             Latest|---                         |4.2.0-dev
    Confirmation on|                            |
             Status|ACCEPTED                    |RESOLVED
           Keywords|                            |data_loss
   Target Milestone|---                         |4.2.0
         Resolution|---                         |FIXED

--- Comment #7 from damjan@apache.org ---
Fixed by commit 1712377:

#i61277# Basic open file with random access erases all data.
StarBasic tries to emulate truncation of files opened for writing
by deleting them before opening them (if they exist). However there
are exclusion to the truncation behaviour when the file is opened
in append mode or is a binary file. Another exclusion - that was
missing with disasterous consequences - is that the file should
not be truncated when opened in random access mode.

-- 
You are receiving this mail because:
You are on the CC list for the issue.