Overview
| Artifact ID: | c6b265d4008e3241642a0250231a1a6785c24ab6 |
|---|---|
| Ticket: | 458576ffffffffffffffffffffffffffffffffff
Failure of [file type] on large files |
| User & Date: | andyv on 2001-09-05 23:30:56 |
Changes
- icomment:
Logged In: YES user_id=29655 I've already worked around my immediate problem. I needed to know if the file was a directory or not, and 'file isdirectory' works fine on large files. I did download and compile 8.4-alpha with --enable-64bits and as far as I can tell, it didn't use lstat64(). Replacing lstat() with lstat64() doesn't necessarily have to involve all the pain of replacing tcl integers with 64-bit integers; In the case of 'file type', the length is never needed. Perhaps a flag could be added to TclpObjLstat indicating whether the length was needed or not. If the length is needed and was greater than 2^31, then an error could be raised.
- login: "andyv"
- mimetype: "text/plain"
- username: "andyv"