Description of Problem: basic functions like 'cat' does not run correctly when using tcsh on files > 2GB Version-Release number of selected component (if applicable): tcsh-6.10-6 How Reproducible: always reproducible.... Steps to Reproduce: 1. create a file > 2GB with dd 2. cat FILE > OTHER_NAME 3. Actual Results: [taper@sialnx2 /backup]$ ls -l FILE -rw-r--r-- 1 root root 3221225472 May 18 21:28 FILE [taper@sialnx2 /backup]$ bash bash-2.05a$ cat FILE > FILE2 bash-2.05a$ ls -l FILE2 -rw-rw-r-- 1 taper taper 3221225472 May 19 21:03 FILE2 bash-2.05a$ csh [taper@sialnx2 /backup]$ cat FILE > FILE3 Filesize limit exceeded (core dumped) Expected Results: Additional Information: The problem does not arise whith bash The same srpm rebuild with 'gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE' solves the problem.
Probably related: wildcard expansion does not work correctly with > 2GB files. Say you have a dir with 2 files: file1 1GB file2 3GB then "echo *" results in "file1" instead of "file1 file2". (observed with same tcsh-6.10-6 in RH 7.3) Greetings, Rob van Nieuwkerk
This is fixed in the tcsh in 8.0.