perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: RE : [mp2] PERLIO_K_RAW in apr_perlio.c
Date Wed, 01 Oct 2003 19:46:44 GMT
Geoffrey Young wrote:
> 
>> # Define the CRLF sequence.  I can't use a simple "\r\n" because the
>> meaning
>> # of "\n" is different on different OS's (sometimes it generates CRLF,
>> sometimes LF
>> # and sometimes CR).  The most popular VMS web server
>> # doesn't accept CRLF -- instead it wants a LR.  EBCDIC machines don't
>> # use ASCII, so \015\012 means something different.  I find this all # 
>> really annoying.
> 
> 
> randy and I have discussed this before, IIRC...
> 
> while apache itself makes the distinction between ascii and ebcdic, it 
> does not distinguish between vms and the rest of ascii land.
> 
> I say we punt just follow the lead of httpd, exporting their constants.
> 
> patch attached.  I'll clean up the test tomorrow if people like the idea.

+1. also please update modperl-docs/src/docs/2.0/api/Apache/Const.pod.

Will you please suggest a patch against Randy's patch to use that constant?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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


Mime
View raw message