httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: svn commit: r571209 - /httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c
Date Thu, 30 Aug 2007 15:36:18 GMT
Are these really candidates for bypassing the
normal backport process from trunk??

martin@apache.org wrote:
> 
> Author: martin
> Date: Thu Aug 30 08:29:27 2007
> New Revision: 571209
> 
> URL: http://svn.apache.org/viewvc?rev=571209&view=rev
> Log:
> Convert just the message text to EBCDIC, and not the (already EBCDIC) status code
> 
> Modified:
>     httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c
> 
> Modified: httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c?rev=571209&r1=571208&r2=571209&view=diff
> ==============================================================================
> --- httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c (original)
> +++ httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c Thu Aug 30 08:29:27 2007
> @@ -473,10 +473,11 @@
>  
>      rc = ajp_msg_get_string(msg, &ptr);
>      if (rc == APR_SUCCESS) {
> -        r->status_line =  apr_psprintf(r->pool, "%d %s", status, ptr);
> -#if defined(AS400) || defined(_OSD_POSIX)
> -        ap_xlate_proto_from_ascii(r->status_line, strlen(r->status_line));
> +#if defined(AS400) || defined(_OSD_POSIX) /* EBCDIC platforms */
> +        ptr = apr_pstrdup(r->pool, ptr);
> +        ap_xlate_proto_from_ascii(ptr, strlen(ptr));
>  #endif
> +        r->status_line =  apr_psprintf(r->pool, "%d %s", status, ptr);
>      } else {
>          r->status_line = NULL;
>      }
> 
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
	    "If you can dodge a wrench, you can dodge a ball."

Mime
View raw message