Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 694592c3b816b65d478192dbb91dec8760c30edbf51601c3ef79833e847616ca
Ticket: fa128568a597a1971c3a0ea19ec97c19f6e24ef1
EOVERFLOW does not necessarily mean "file too big"
User & Date: chrstphrchvz on 2023-03-08 08:52:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    <tt>Tcl_ErrnoMsg()</tt> translates <tt>EOVERFLOW</tt> as "file too big", but there are situations where this message does not make sense. At least one of these is when retrieving the timestamp of a file (even a 0 byte one) which is beyond the range representable by a system's <tt>time_t</tt>:
    
    <pre>
    % exec touch -d "Wed Jan 01 00:00:00 GMT 2070" foo.text
    % file mtime foo.text
    could not read "foo.text": file too big
    </pre>
    
  5. foundin changed to: "8.6.13"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "chrstphrchvz"
  14. subsystem changed to: "52. Portability Support"
  15. title changed to: "EOVERFLOW does not necessarily mean "file too big""
  16. type changed to: "Bug"