]> granicus.if.org Git - icu/commitdiff
ICU-9996 Disable call to isspace on zos
authorMichael Ow <mow@svn.icu-project.org>
Thu, 28 Feb 2013 18:32:54 +0000 (18:32 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Thu, 28 Feb 2013 18:32:54 +0000 (18:32 +0000)
X-SVN-Rev: 33349

icu4c/source/tools/pkgdata/pkgdata.cpp

index acc2a60f8dc476979a6bb3193d801910854a09b0..1a4f199fce4a3f52f2e5d2704bb7f7c1c8371915 100644 (file)
@@ -1,5 +1,5 @@
 /******************************************************************************
- *   Copyright (C) 2000-2012, International Business Machines
+ *   Copyright (C) 2000-2013, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *******************************************************************************
  *   file name:  pkgdata.cpp
@@ -1864,9 +1864,12 @@ static void loadLists(UPKGOptions *o, UErrorCode *status)
             }
             /* remove spaces at the beginning */
             linePtr = line;
+            /* On z/OS, disable call to isspace (#9996).  Investigate using uprv_isspace instead (#9999) */
+#if U_PLATFORM == U_PF_OS390
             while(isspace(*linePtr)) {
                 linePtr++;
             }
+#endif
             s=linePtr;
             /* remove trailing newline characters */
             while(*s!=0) {