Bug 111757

Summary: pdksh does not handle io > 2GB
Product: Red Hat Enterprise Linux 2.1 Reporter: Carson Harding <carson.harding>
Component: pdkshAssignee: Karsten Hopp <karsten>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:00:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carson Harding 2003-12-09 17:46:53 UTC
Description of problem:

pdksh will not redirect from or to files > 2GB in size

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. ksh
2. dd if=/dev/zero of=testfile.in bs=4096 count=1000000
3. cat < testfile.in > testfile.out
  
Actual results:

ksh: cannot open testfile.in: File too large

Expected results:

copies data

Additional info:

Comment 1 Carson Harding 2003-12-09 17:49:51 UTC
Seems to work ok if compiled with 
CFLAGS="-D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64"


Comment 3 Florian La Roche 2003-12-17 11:01:22 UTC
RHEL AS 2.1 Update 3 should contain a fix for this item. I have also
copied the src.rpm onto http://people.redhat.com/laroche/pdksh*.

Please update this bugzilla if that rpm does not work for you.

greetings,

Florian La Roche


Comment 4 Florian La Roche 2003-12-31 07:14:03 UTC
Closing as dup from #76307 and a fixed rpm should be already released.

greetings,

Florian La Roche


*** This bug has been marked as a duplicate of 76307 ***

Comment 5 Red Hat Bugzilla 2006-02-21 19:00:20 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.