Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-05
16:10 • Closed ticket [458578ffff]: Failure of "file type" plus 4 other ch... artifact: 662a95d09b user: dkf
00:06 • New ticket [458578ffff]. artifact: fae37a1592 user: andyv

Failure of "file type"

Closed / Duplicate458578ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-09-05 00:06:56
On x86 linux the "file type" command fails with an
error on files that are more than 2G in length. 
Clearly, what is happening is that a common subroutine
is being called to stat the file and the 2G file length
overflows a tcl integer.

However, the length isn't needed at all for "file type"
to return the correct result.  There are probably a
similar problems with other variants of the file
command.

     Andy
dkf Closed ticket [458578ffff]. [History diff]2001-09-05 16:10:02
Log in (anonymous is fine) to add a comment.