delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-AuthUser: | gerrit:koeln.convey.de |
Date: | Sat, 31 May 2003 19:25:09 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Reply-To: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <181879373392.20030531192509@familiehaase.de> |
To: | "Max Bowsher" <maxb AT ukf DOT net> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Should PERLIO=no_crlf be the default on Cygwin? |
In-Reply-To: | <00bd01c32775$71086ba0$78d96f83@pomello> |
References: | <001601c324fc$16d4f700$6500a8c0 AT ufo> |
<002901c32504$947701f0$78d96f83 AT pomello> | |
<68785452711 DOT 20030530171948 AT familiehaase DOT de> | |
<007101c326c2$c1f8e110$78d96f83 AT pomello> | |
<9855017610 DOT 20030531123913 AT familiehaase DOT de> | |
<00bd01c32775$71086ba0$78d96f83 AT pomello> | |
MIME-Version: | 1.0 |
Hallo Max, Am Samstag, 31. Mai 2003 um 15:06 schriebst du: >>> I know very little about perlio, but wouldn't defaulting to stdio cause >>> Perl to obey Cygwin mount modes? >> From perlrun.pod: >> "An unset or empty PERLIO is equivalent to :stdio." >> The problem is that it will be superseeded for platforms where >> O_BINARY and O_TEXT differs as it is e.g. for DOS or CYGWIN. > OK, so the fix is to prevent whatever superseding you mention above > from happening? Yes. In the perl source is defined if a system that defines O_TEXT with a different value as O_BINARY kind of DOSISH, then the :crlf PerlIO layer will be used. That is to override the default :stdio layer (as it is on unix). If I change it to be Cygwin != DOSISH, then the standard Unix layer :stdio will be used if no environmet setting overrides it and every other layer like e.g. :perlio, :crlf or :utf8 may be pulled in by request. I think this is what we want. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |