diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-01 13:22:21 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-01 13:24:54 +0100 |
commit | 7580038e24b546a5288ab16f8507f73f1c6fd738 (patch) | |
tree | af8a16531378a15ab7a45d2d63ced75c97c6f41e /liblangtag/UnpackedTarball_langtag.mk | |
parent | Resolves: fdo#56549 crash in format->autocorrect->apply and edit changes (diff) | |
download | core-7580038e24b546a5288ab16f8507f73f1c6fd738.tar.gz core-7580038e24b546a5288ab16f8507f73f1c6fd738.zip |
vsnprintf() is not portable
http://perfec.to/vsnprintf/
At least MSVC2010 implementation returns -1 when the result doesn't fit,
so the excepted size is not computed correctly. Let's hope 16k is
big enough for everybody(TM).
Change-Id: I636487c7723651bfa74513018be786a45b6c796d
Diffstat (limited to 'liblangtag/UnpackedTarball_langtag.mk')
-rw-r--r-- | liblangtag/UnpackedTarball_langtag.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/liblangtag/UnpackedTarball_langtag.mk b/liblangtag/UnpackedTarball_langtag.mk index 94d04382764c..663d7245f8d3 100644 --- a/liblangtag/UnpackedTarball_langtag.mk +++ b/liblangtag/UnpackedTarball_langtag.mk @@ -32,6 +32,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,langtag,\ liblangtag/liblangtag-0.4.0-windows2.patch \ liblangtag/liblangtag-0.4.0-msvcprojects.patch \ liblangtag/liblangtag-0.4.0-ppc.patch \ + liblangtag/liblangtag-0.4.0-vsnprintf.patch \ )) endif |