diff options
author | M. J. T. Guy <mjtg@cus.cam.ac.uk> | 1999-06-09 19:27:51 +0100 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-06 09:37:37 +0000 |
commit | af7d13df55983dddc63f9a0d17150fe82dfa08fb (patch) | |
tree | edc03861618eddbdff90248a8a7ae687265fecc4 /perl.h | |
parent | d6c467ebacb76375f2e45f73c8dc7672a175cfa8 (diff) | |
download | perl-af7d13df55983dddc63f9a0d17150fe82dfa08fb.tar.gz |
fix for C<$/ = 42> setting paragraph mode (applied with small
tweak)
Message-Id: <E10rm8l-00023T-00@ursa.cus.cam.ac.uk>
Subject: Re: [ID 19990608.002] Possible bug with binmode and <FH> on Perl 5.005_03 Win32
p4raw-id: //depot/perl@3610
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2379,8 +2379,8 @@ enum { /* pass one of these to get_vtbl */ /* Various states of an input record separator SV (rs, nrs) */ #define RsSNARF(sv) (! SvOK(sv)) -#define RsSIMPLE(sv) (SvOK(sv) && SvCUR(sv)) -#define RsPARA(sv) (SvOK(sv) && ! SvCUR(sv)) +#define RsSIMPLE(sv) (SvOK(sv) && (! SvPOK(sv) || SvCUR(sv))) +#define RsPARA(sv) (SvPOK(sv) && ! SvCUR(sv)) #define RsRECORD(sv) (SvROK(sv) && (SvIV(SvRV(sv)) > 0)) /* Enable variables which are pointers to functions */ |