Bug 193755 - dos2unix fails with files bigger than 2Gb.
dos2unix fails with files bigger than 2Gb.
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: dos2unix (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks: 190430
  Show dependency treegraph
 
Reported: 2006-06-01 07:16 EDT by Jose Plans
Modified: 2010-10-22 01:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-06 17:01:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Addition of : "-D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" (295 bytes, patch)
2006-06-01 07:16 EDT, Jose Plans
no flags Details | Diff

  None (edit)
Description Jose Plans 2006-06-01 07:16:30 EDT
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 07:16:31 EDT
Created attachment 130331 [details]
Addition of : "-D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)"
Comment 4 RHEL Product and Program Management 2007-03-06 17:01:07 EST
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request. 

Note You need to log in before you can comment on or make changes to this bug.