Bug 65189 - problem between tcsh and files > 2GB
Summary: problem between tcsh and files > 2GB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tcsh
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-19 19:15 UTC by Need Real Name
Modified: 2007-04-18 16:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-06 20:09:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-05-19 19:15:53 UTC
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.

Comment 1 Need Real Name 2002-08-30 00:33:08 UTC
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

Comment 2 Bill Nottingham 2003-02-06 20:09:14 UTC
This is fixed in the tcsh in 8.0.


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