intl/icu-patches/icu-release-56-1-flagparser-fix.patch
author Jean-Yves Avenard <jyavenard@mozilla.com>
Tue, 08 Dec 2015 15:05:50 -0500
changeset 276092 37003d495f204a65bd7647e56cd9d651bc125b5e
parent 273470 dae44b477b62fae4b4a23a8f6e8bcfeb58bdc597
permissions -rw-r--r--
Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce

diff --git a/intl/icu/source/tools/pkgdata/pkgdata.cpp b/intl/icu/source/tools/pkgdata/pkgdata.cpp
--- a/intl/icu/source/tools/toolutil/flagparser.c
+++ b/intl/icu/source/tools/toolutil/flagparser.c
@@ -96,8 +96,8 @@
     uprv_free(buffer);
 
     T_FileStream_close(f);
-    
-    if (U_FAILURE(*status)) {
+
+    if (U_FAILURE(*status) && *status != U_BUFFER_OVERFLOW_ERROR) {
         return -1;
     }