Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144617 Details for
Bug 221113
readline function in perl does not correctly set $!
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
how to test I/O errors and readline behaviour
readline_test_loopback.txt (text/plain), 1.73 KB, created by
Wojciech Pilorz
on 2007-01-02 00:32:53 UTC
(
hide
)
Description:
how to test I/O errors and readline behaviour
Filename:
MIME Type:
Creator:
Wojciech Pilorz
Created:
2007-01-02 00:32:53 UTC
Size:
1.73 KB
patch
obsolete
>$ mkdir rltmp >$ yes 1234567890 | head -400000 | grep -n ^ > rltmp/ftest01 >$ mkisofs -r -q rltmp/ > rltmp_img.iso >$ dd if=rltmp_img.iso bs=1024k count=5 of=rltmp_img_5M.iso >5+0 records in >5+0 records out >5242880 bytes (5.2 MB) copied, 0.216334 seconds, 24.2 MB/s > >*** NOW AS ROOT *** ># mkdir /mnt/looptest ># mount -o ro,loop rltmp_img_5M.iso /mnt/looptest > >*** BACK AS A REGULAR USER *** > >$ env CHUNKSIZE=-1 PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to undef >Bad file descriptor at readline_test.pl line 30, <F> chunk 1. >$ env CHUNKSIZE=-1 PERLIO=stdio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to undef >Input/output error at readline_test.pl line 30, <F> chunk 1. >$ env CHUNKSIZE=0 PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will not be set >Bad file descriptor at readline_test.pl line 30, <F> line 294486. >$ env CHUNKSIZE=0 PERLIO=stdio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will not be set >Input/output error at readline_test.pl line 30, <F> line 294486. >$ env CHUNKSIZE=2k PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to 2048 >Input/output error at readline_test.pl line 30, <F> chunk 2534. >$ env CHUNKSIZE=4k PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to 4096 >Input/output error at readline_test.pl line 30, <F> chunk 1267. >$ env CHUNKSIZE=8k PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to 8192 >Bad file descriptor at readline_test.pl line 30, <F> chunk 634. >$ env CHUNKSIZE=32k PERLIO=perlio perl -w readline_test.pl /mnt/looptest/ftest01 > INFO: $/ will be set to 32768 >Bad file descriptor at readline_test.pl line 30, <F> chunk 159. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 221113
:
144615
|
144616
| 144617