Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


My reply was accidentally sent to Michael Stahl only. Ooops.

I feel that this behavior of SvStream not to change the parameter in
case of a broken stream should be changed. I am not sure why that is
there.

I have a partial change to that that I am attaching for review. I am
not getting the logic on the chars so things aren't fixed.

The rest, I ran it over a make check and nothing broke - that doesn't
necessarily mean that the fix is harmless...
Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and complete,
not lacking anything." -James 1:4
http://asimplediscipleslife.blogspot.com/
mlaverd.theunixplace.com



On Tue, Dec 11, 2012 at 10:05 AM, Michael Stahl <mstahl@redhat.com> wrote:
On 11/12/12 15:57, Stephan Bergmann wrote:
Exceptions are certainly no silver bullet (semantically they are
~equivalent to encoding exception information in function return values
and explicitly handling those return values accordingly, so the "endemic
bloat" claim meets skepticism)

well in practice in our code the alternative to exceptions is not
"explicitly handling those return values" but simply ignoring the error
conditions which usually tends to results in smaller code  ;-)


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Attachment: 0001-Defaulting-to-0-on-bad-stream-read-WIP.patch
Description: Binary data

Attachment: 0002-Broken-fix-for-SvStream-operator-on-chars.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.