Red Hat Bugzilla – Bug 193755
dos2unix fails with files bigger than 2Gb.
Last modified: 2010-10-22 01:03:07 EDT
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/
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.
Created attachment 130331 [details]
Addition of : "-D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)"
Product Management has reviewed and declined this request. You may appeal this
decision by reopening this request.