Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0e306a38aff51a85958ea11a7afb9ab8d4062fe779a307c770bbb3e86b6b7abd
Ticket: d690400d07e59286433b454dc7a5f0e5974dff94
Remove _LARGEFILE_SOURCE64 typo?
User & Date: chrstphrchvz on 2023-03-12 07:17:37
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Did <tt>_LARGEFILE_SOURCE64</tt> actually exist in some platform’s header files? I am increasingly convinced it never did, and that any mention of it can be removed from Tcl; see attached patch.
    
    [1287638] says it was needed according to [https://web.archive.org/web/20060226103406/http://www.redhat.com/docs/wp/solaris_port/x1609.html]. But what if it was just a typo in ancient RHEL docs? I downloaded and extracted the SRPMs for glibc-2.3.2 from RHEL 3 and glibc-2.3.4 from RHEL 4, and could only find occurrences of <tt>_LARGEFILE_SOURCE64</tt>, not <tt>_LARGEFILE64_SOURCE</tt>.
    
    Looking for "_LARGEFILE64_SOURCE" on Google reports over 11k results, versus "149 results" for "_LARGEFILE64_SOURCE"; I notice many results of the latter which are from Tcl/TEA (and downstream copies), but none from a C standard library implementation’s header files. On Google Books, there are about 29 results for "_LARGEFILE64_SOURCE" and 0 for "_LARGEFILE_SOURCE64".
    
  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: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "chrstphrchvz"
  14. subsystem changed to: "52. Portability Support"
  15. title changed to: "Remove _LARGEFILE_SOURCE64 typo?"
  16. type changed to: "Patch"