From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.16-0.5 i686) Description of problem: tcsh can does not glob large files correctly Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: date > x dd if=x of=x1 seek=1M dd if=x of=x5 seek=5M tcsh: ls -l x* Actual Results: -rw-rw-rw- 1 foo bar 29 Dec 11 23:58 x -rw-rw-rw- 1 foo bar 536870941 Dec 11 23:58 x1 Expected Results: -rw-rw-rw- 1 foo bar 29 Dec 11 23:58 x -rw-rw-rw- 1 foo bar 536870941 Dec 11 23:58 x1 -rw-rw-rw- 1 foo bar 2684354589 Dec 11 23:58 x5 Additional info:
I have seen this bug also. I resolved it by compiling with the following options: -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE This was added to the CCFLAGS= line of the Makefile. I installed the source rpm for tcsh. Then installed each patch (for version 6.10) then ran the configure script. Then edited the Makefile to add the above definitions. make make install cd /bin rm tcsh ln -s /usr/local/bin/tcsh tcsh Note: The src rpm configure file has the make install place the tcsh executable into /usr/local/bin. Hope you find this useful. And we get an updated rpm soon.
This appears fixed on RedHat 8.0 (but not 7.3). Close?
Yup.