patch-src_main_cpp_charsetdecoder_cpp 574 B

1234567891011
  1. --- apache-log4cxx-0.10.0.orig/src/main/cpp/charsetdecoder.cpp 2008-04-01 00:34:09.000000000 +0200
  2. +++ apache-log4cxx-0.10.0/src/main/cpp/charsetdecoder.cpp 2015-05-30 02:51:44.000000000 +0200
  3. @@ -476,7 +476,7 @@ CharsetDecoderPtr CharsetDecoder::getDec
  4. StringHelper::equalsIgnoreCase(charset, LOG4CXX_STR("ISO-LATIN-1"), LOG4CXX_STR("iso-latin-1"))) {
  5. return new ISOLatinCharsetDecoder();
  6. }
  7. -#if APR_HAS_XLATE || !defined(_WIN32)
  8. +#if APR_HAS_XLATE
  9. return new APRCharsetDecoder(charset);
  10. #else
  11. throw IllegalArgumentException(charset);