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/15 07:39:31 UTC
cvs commit: logging-log4cxx/src iconv_module.cpp
carnold 2005/03/14 22:39:31
Modified: src iconv_module.cpp
Log:
LOGCXX-10: Override apr-iconv's module locating logic, utf-8 decoding
Revision Changes Path
1.2 +26 -0 logging-log4cxx/src/iconv_module.cpp
Index: iconv_module.cpp
===================================================================
RCS file: /home/cvs/logging-log4cxx/src/iconv_module.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iconv_module.cpp 15 Mar 2005 05:37:50 -0000 1.1
+++ iconv_module.cpp 15 Mar 2005 06:39:31 -0000 1.2
@@ -1,3 +1,29 @@
+/*
+ * Copyright 2003,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+ /*
+ *
+ * This module replaces apr-iconv's iconv_module which
+ * uses dynamic loading of encoding modules. This
+ * implementation includes all the stock modules
+ * in distinct namespaces (since otherwise they
+ * would introduce conflicting symbols).
+ *
+ */
+
#define ICONV_INTERNAL
extern "C" {
#include <apr.h>