-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bogus read after seek beyond end of string based file #10783
Comments
From peter.jaquiery@ihug.co.nzCreated by peter.jaquiery@ihug.co.nzA read on a string based file handle incorrectly succeeds following a seek -------- 8< ----------- #!/home/vmware/perl/perl my $str = '1234567890'; print "String file test\n"; open my $outFile, '>', 'temp.txt'; print "Disk file test\n"; unlink 'temp.txt'; sub test { seek $fh, 5, 1; -------- 8< ----------- For an Active State build of 5.10.1 the code prints: String file test For the test 5.12.2 exhibiting the problem the code prints: String file test Note that in the 5.12.2 case the string file test reports 5 bytes read after Perl Info
|
From @cpansproutFixed by ab9f158. |
@cpansprout - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#78716 (status was 'resolved')
Searchable as RT78716$
The text was updated successfully, but these errors were encountered: