Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3dffb0351544d49851fe3f10c2541424c660c36e0365b5a37125741abfa34d7e
Ticket: 02b58d5d040821baebe7eccd70aee11afa1bacae
Direct access of *64 functions by Tcl code (code cleanup)
User & Date: chrstphrchvz on 2023-07-20 20:16:35
Changes

  1. icomment:
    <a href="https://man7.org/linux/man-pages/man7/feature_test_macros.7.html"><tt>man feature_test_macros</tt></a> from the Linux man-pages project says that the <tt>_LARGEFILE_SOURCE</tt> macro is obsolete, and that <tt>_FILE_OFFSET_BITS=64</tt> is now enough to enable 64-bit declarations of <tt>fseeko()</tt> and <tt>ftello()</tt>. I am not aware exactly how long this has been the case. But there is seemingly no harm in leaving a configuration test in Tcl for defining <tt>_LARGEFILE_SOURCE</tt> in case it is needed; it should now just go after the one for <tt>_FILE_OFFSET_BITS=64</tt> (recently added for [d40b9c8503eb]).
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"