[kmail] [Bug 138445] Can't read read-only MBOX files

Martin Koller kollix at aon.at
Fri Jan 30 19:12:05 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=138445

Martin Koller <kollix at aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |http://commits.kde.org/kdep
                   |                            |imlibs/4a4a56b3d64d518a881a
                   |                            |08c32dc51138909613b7
   Version Fixed In|                            |4.14.5
         Resolution|---                         |FIXED

--- Comment #3 from Martin Koller <kollix at aon.at> ---
Git commit 4a4a56b3d64d518a881a08c32dc51138909613b7 by Martin Koller.
Committed on 30/01/2015 at 19:00.
Pushed by mkoller into branch 'KDE/4.14'.

Fix handling of read-only mbox files

Up till now a read-only mbox file could not be loaded, since load()
always tried to open in read-write mode.
Now it first tries to open the file readWrite and if that fails,
it retries readOnly.
Also one can now explicitely tell the class to open the file readOnly
even if it could be written.
Related: bug 323872
FIXED-IN: 4.14.5
REVIEW: 122255

M  +19   -2    kmbox/mbox.cpp
M  +30   -4    kmbox/mbox.h
M  +11   -4    kmbox/mbox_p.cpp
M  +46   -0    kmbox/tests/mboxtest.cpp
M  +1    -0    kmbox/tests/mboxtest.h

http://commits.kde.org/kdepimlibs/4a4a56b3d64d518a881a08c32dc51138909613b7

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list