You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2005/03/16 17:39:24 UTC

cvs commit: logging-log4cxx/tests/src/helpers localechanger.cpp

carnold     2005/03/16 08:39:24

  Modified:    .        build.xml
               tests/src/helpers localechanger.cpp
  Log:
  LOGCXX-49: Gump tweaks
  
  Revision  Changes    Path
  1.56      +1 -1      logging-log4cxx/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/build.xml,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- build.xml	15 Mar 2005 05:37:50 -0000	1.55
  +++ build.xml	16 Mar 2005 16:39:24 -0000	1.56
  @@ -414,7 +414,7 @@
       <condition property="with-apr" value="../apr-${apr.version}/apr--config">
            <isset property="is-cygwin"/>
       </condition>
  -    <property name="with-apr" location="${apr.dir}/apr--config"/>
  +    <property name="with-apr" location="${apr.dir}"/>
   </target>
   
   <target name="get-apriconv-src" unless="apriconv-src-available">
  
  
  
  1.2       +2 -0      logging-log4cxx/tests/src/helpers/localechanger.cpp
  
  Index: localechanger.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/tests/src/helpers/localechanger.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- localechanger.cpp	19 Feb 2005 01:59:37 -0000	1.1
  +++ localechanger.cpp	16 Mar 2005 16:39:24 -0000	1.2
  @@ -15,6 +15,7 @@
    */
   
   #include "localechanger.h"
  +#include <stdexcept>
   
   using namespace log4cxx::helpers;
   
  @@ -27,6 +28,7 @@
           std::locale newLocale(locale);
           initial = std::locale::global(newLocale);
           effective = true;
  +    } catch(std::runtime_error&) {
       } catch(std::exception&) {
       }
     }