Bug 193755

Summary: dos2unix fails with files bigger than 2Gb.
Product: Red Hat Enterprise Linux 3 Reporter: Jose Plans <jplans>
Component: dos2unixAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-06 22:01:07 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:
Bug Depends On:    
Bug Blocks: 190430    
Attachments:
Description Flags
Addition of : "-D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" none

Description Jose Plans 2006-06-01 11:16:30 UTC
Hi Tim,
 This customer reported the following issue: When using dos2unix against a
plain/text file bigger than 2Gb the command stops at the very begining reporting :

 [root@elyacin home]# ll -h mnt/
 total 2.3G
 drwx------    2 root     root          16K Jun  1 11:15 lost+found
 -rw-r--r--    1 root     root         2.2G Jun  1 11:32 text.txt
 [root@elyacin home]# dos2unix mnt/text.txt
  dos2unix: converting file mnt/text.txt to UNIX format ...
  dos2unix: problems converting file mnt/text.txt

This is fixed by adding in the SPEC file the support for large filesystems.
Jose

Comment 1 Jose Plans 2006-06-01 11:16:31 UTC
Created attachment 130331 [details]
Addition of : "-D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)"

Comment 4 RHEL Program Management 2007-03-06 22:01:07 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request.