diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-08-31 13:28:46 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-08-31 13:28:46 +0000 |
commit | 7b7dcf5ac94bed0f662436876fc7ea3297cbf179 (patch) | |
tree | 3970f18fb392c9ede8bfa7483702f05d06110bc0 /README.cygwin | |
parent | 42ad0bbf7d53e4a30786360017b759e2eb194082 (diff) | |
download | perl-7b7dcf5ac94bed0f662436876fc7ea3297cbf179.tar.gz |
Following Jan's advice, remove Cygwin::is_textmount(),
which duplicates the functionality of is_binmount().
p4raw-id: //depot/perl@31773
Diffstat (limited to 'README.cygwin')
-rw-r--r-- | README.cygwin | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/README.cygwin b/README.cygwin index ac85a9d5cf..3bccc3e6eb 100644 --- a/README.cygwin +++ b/README.cygwin @@ -409,10 +409,10 @@ F<http://www.okisoft.co.jp/esc/utf8-cygwin/> When a file is opened it is in either text or binary mode. In text mode a file is subject to CR/LF/Ctrl-Z translations. With Cygwin, the default mode for an C<open()> is determined by the mode of the mount that underlies -the file. See C<Cygwin::is_binmount()> and C<Cygwin::is_textmount()>. -Perl provides a C<binmode()> function to set binary mode on files -that otherwise would be treated as text. C<sysopen()> with the C<O_TEXT> -flag sets text mode on files that otherwise would be treated as binary: +the file. See C<Cygwin::is_binmount()>. Perl provides a C<binmode()> function +to set binary mode on files that otherwise would be treated as text. +C<sysopen()> with the C<O_TEXT> flag sets text mode on files that otherwise +would be treated as binary: sysopen(FOO, "bar", O_WRONLY|O_CREAT|O_TEXT) @@ -557,11 +557,6 @@ User mounts override system mounts. Returns true if the given cygwin path is binary mounted, false if the path is mounted in textmode. -=item C<Cygwin::is_textmount> - -Returns true if the given cygwin path is mounted in textmode (C<"\r\n"> C<lt>=C<gt> C<"\n">), -false if the path is mounted binary. The result is complementary to C<Cygwin::is_binmount()>. - =back =head1 INSTALL PERL ON CYGWIN |