tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Re: More on i5/OS and some modifications needed
Date Mon, 23 Apr 2007 12:55:26 GMT
Bonne idée.

Maintenant le loup c'est dans l'ouverture de fichier
workers.properties car là aussi fopen bosse sur de ... l'EBCDIC.

Putain pourquoi on n'utilise pas carrement APR pour tout ce qui est
I/O dans mod_jk ?

2007/4/23, Jean-Frederic <jfclere@gmail.com>:
> On Mon, 2007-04-23 at 12:26 +0200, Henri Gomez wrote:
> > Hi to all,
> >
> > I'm still working on i5/OS V5R4 port and I'm facing the following problem.
> >
> > i5/OS is an EBCDIC system, but in V5R4, IBM decided, for modules
> > writer ease, to make all HTTP and APR routines works in UTF.
> >
> > That's fine but all the native runtime functions still works in EBDIC.
> >
> > So function like strcasecmp compare 2 strings in case unsensitive mode
> > but works in EBCDIC charsets and as consequence Content-Type !=
> > Content-type.
> >
> > Could we use instead the apr_strnatcasecmp, for example in mod_jk.c
> > for apache 2 ?
>
> Better use something like:
> #ifdef AS400_UTF8
> #define strcasecmp(a,b) apr_strnatcasecmp(a,b)
> #endif
>
> Cheers
>
> Jean-Frederic
>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message