cURL / Mailing Lists / curl-users / Single Mail

curl-users

Cygwin -> PerlIO fixed (?)

From: Roth, Kevin P. <KPRoth_at_MAPLLC.com>
Date: Mon, 2 Jun 2003 16:27:52 -0400

FYI:

Previously, several test cases (`make test`) would fail within
cygwin, if one had installed Perl 5.8.0.

I just saw the following come across the Cygwin mailing list, and it
suggests that my patch to ftpserver.pl
(adding the line "use open OUT => ':raw';") won't be needed.

Here's the text of the message...

- Kevin

----SNIP------------------------------------------------------------
Changes: - Moved Cygwin to the non DOSish platforms.
         - Updated CPAN module to v1.70_54

Therefore it is no longer needed to define PERLIO in the environment.
Defaults to PERLIO=stdio now if it is not set. However iff
LF -> CR/LF *conversion* in perl generated output is wanted now, one
needs to define PERLIO=crlf in his environment or at the commandline:

Default now:
============

$ /bin/perl -e 'print "\n";'|od -a
0000000 nl
0000001
$ PERLIO=crlf /bin/perl -e 'print "\n";'|od -a
0000000 cr nl
0000002

$ /bin/perl -e 'print "\r\n";'|od -a
0000000 cr nl
0000002

Default was before the change:
==============================

$ /bin/perl -e 'print "\n";'|od -a
0000000 cr nl
0000002

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-02