summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-23 05:26:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 05:26:26 +0000
commit51882d45c6d36f86de12444364ecbbfe87b21ab4 (patch)
tree216f862b95c6ff6615fa86cee5e8e731bb9227be /perl.c
parent4968c1e4fb50e28f5f275a60b70129c61fe3ca9e (diff)
downloadperl-51882d45c6d36f86de12444364ecbbfe87b21ab4.tar.gz
better CR-handling on shebang line and in formats (fixed variant of
patch suggested by Igor Sysoev <igor@nitek.ru>) p4raw-id: //depot/perl@1812
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 698abfbda8..6e59ee9248 100644
--- a/perl.c
+++ b/perl.c
@@ -1774,7 +1774,7 @@ Internet, point your browser at http://www.perl.com/, the Perl Home Page.\n\n");
break;
case '-':
case 0:
-#ifdef WIN32
+#if defined(WIN32) || !defined(PERL_STRICT_CR)
case '\r':
#endif
case '\n':