summaryrefslogtreecommitdiffstats
path: root/server/util_ebcdic.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Missing va_end spotted by cppcheckChristophe Jaillet2014-08-211-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619297 13f79535-47bb-0310-9956-ffa450edef68
* Use 'apr_pstrmemdup' instead of 'apr_pstrndup' when applicableChristophe Jaillet2013-12-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551013 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-031-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Introduce ap_(get|set)_core_module_config() functions/macros and use themStefan Fritsch2011-06-061-1/+3
| | | | | | | | | | | | everywhere. We know that the core module has module_index 0. Therefore we can save some pointer operations in ap_get_module_config(cv, &core_module) and ap_set_module_config(cv, &core_module, val). As these are called rather often, this may actually have some (small) measurable effect. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132781 13f79535-47bb-0310-9956-ffa450edef68
* remove more unused variablesStefan Fritsch2010-08-041-1/+0
| | | | | | | | | revove some obsolete comments netware file is untested git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982050 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-0/+2
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-5/+5
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* Use standardized names for ISO-8859-1, see ↵Martin Kraemer2004-06-291-2/+2
| | | | | | | | | http://www.iana.org/assignments/character-sets (Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104078 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-53/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* tidy up some charset recoding issuesJeff Trawick2003-11-261-14/+0
| | | | | | | | | the "need" for APACHE_XLATE went away some years ago when BUFF went POOF and charset recoding (translation) of non-protocol data could no longer be performed by the core... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101894 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
* insure that canned error msgs are translated to ascii before leavingGreg Ames2001-02-261-0/+24
| | | | | | | an ebcdic server in worst case scenarios. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88361 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* The big change. This is part 3 of the apr-util symbols rename, pleaseWilliam A. Rowe Jr2001-01-191-4/+4
| | | | | | | | see the first commit of srclib/apr-util/include (cvs apr-util/include) for the quick glance at symbols changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
* Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.Jeff Trawick2000-12-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87460 13f79535-47bb-0310-9956-ffa450edef68
* Force all Apache functions to be linked into the executable, whether theyRyan Bloom2000-12-191-2/+2
| | | | | | | | | | | are used or not. This uses the same mechanism that is used for APR and APR-util. This may not be the correct solution, but it works, and that is what I really care about. This also renames CHARSET_EBCDIC to AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes the exports script a bit easier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87424 13f79535-47bb-0310-9956-ffa450edef68
* Introduce ap_xlate_proto_{to|from}_ascii() to clean up some ofJeff Trawick2000-10-261-0/+18
| | | | | | | | | the EBCDIC support. They are noops on ASCII machines, so this type of translation doesn't have to be surrounded by #ifdef CHARSET_EBCDIC. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86751 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of much of the old implementation of translating theJeff Trawick2000-10-051-42/+0
| | | | | | | | | | charset of response bodies. ap_checkconv() is removed, except for in os/bs2000 and os/tpf. (Anything there is questionable for 2.0 anyway.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86400 13f79535-47bb-0310-9956-ffa450edef68
* Include apr_strings.h to avoid missing-prototype warning.Jeff Trawick2000-08-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86019 13f79535-47bb-0310-9956-ffa450edef68
* Fix some problems with the apr conversion so that APACHE_XLATE builds workJeff Trawick2000-08-071-10/+10
| | | | | | | again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86018 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* Add support to ap_xlate_open() for an app to specify that theJeff Trawick2000-06-141-2/+13
| | | | | | | | | | | charset of the locale is to be used for the source or target charset. At EBCDIC initialization, use the locale charset as one of the pair when setting up the default translation handles for content. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85571 13f79535-47bb-0310-9956-ffa450edef68
* Fix broken comment in util_ebcdic.cJeff Trawick2000-05-271-1/+1
| | | | | | | Submitted by: Greg Ames git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85313 13f79535-47bb-0310-9956-ffa450edef68
* APACHE_XLATE, CHARSET_EBCDIC stuff:Jeff Trawick2000-05-251-47/+4
| | | | | | | | | | | | | | Provide new function ap_set_content_xlate() to simplify what needs to be done to set up translation of content. Use it where appropriate. With this change, EBCDIC logic was tweaked so that ap_checkconv() does not overlay a translation handle previously stored (e.g., by a module) unless it is turning translation off. Unless ap_checkconv() determines that translation is inappropriate, it should leave the translation handle alone. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85296 13f79535-47bb-0310-9956-ffa450edef68
* Fix some bugs in the use of APACHE_XLATE vs. CHARSET_EBCDICJeff Trawick2000-05-181-1/+38
| | | | | | | which prevented building with APACHE_XLATE on an ASCII machine. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85247 13f79535-47bb-0310-9956-ffa450edef68
* APR-ize the CHARSET_EBCDIC support in the SHA1 routines. The app (e.g.,Jeff Trawick2000-05-161-0/+7
| | | | | | | Apache, htpasswd) must call a function to set up translation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85231 13f79535-47bb-0310-9956-ffa450edef68
* APR-ize the CHARSET_EBCDIC support in ap_base64encode() andJeff Trawick2000-05-161-0/+7
| | | | | | | | ap_base64decode(). The app (e.g., Apache, ab) must call a function to set up translation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85226 13f79535-47bb-0310-9956-ffa450edef68
* util_ebcdic.h, util_ebcdic.c, http_core.c:Jeff Trawick2000-05-151-1/+46
| | | | | | | | | | | | | tweak ap_checkconv() for 2.0 buff.c: fix typo in comment util_md5.h: change CHARSET_EBCDIC to APACHE_XLATE util_script.c: APR-ize some character set conversion (EBCDIC only) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85214 13f79535-47bb-0310-9956-ffa450edef68
* namespace-protect hdrs_to_ascii, hdrs_from_ascii, locale_to_ascii, andJeff Trawick2000-05-101-7/+7
| | | | | | | | locale_from_ascii by adding ap_ prefix Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85175 13f79535-47bb-0310-9956-ffa450edef68
* generic EBCDIC support code, changes to rfc1413.c to use APRJeff Trawick2000-05-091-0/+103
translation in its EBCDIC support git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85171 13f79535-47bb-0310-9956-ffa450edef68