Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf3a6c1cae157f52ffa9a18563c90f5a2d5493b0
Ticket: 218494ffffffffffffffffffffffffffffffffff
make stat() a public interface
User & Date: nobody on 2000-10-26 01:01:18
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 712 RFE
    Version: 8.0.3
    SubmitDate: '1998-10-13'
    LastModified: '1999-08-12'
    Severity: LOW
    Status: Released
    Submitter: admin
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-08-12'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    I'm currently updating Sybtcl and Oratcl, 8.0-objectifing and trying to
    use Tcl_xxx() functions where I can.  One point that is missing for my
    code is a public interface to TclStat().  I'd like to propose that
    TclStat() be upgraded to Tcl_Stat(), and and likewise the stat buf typedef
    TclStat_ become Tcl_StatBufPtr, all moved into tcl.h.
    
    Thanks!
    -- 
    Tom Poindexter
    
    
    I think this would mean that we would need to define our own
    "struct stat" definition that is the same for every platform.
    Which in turn would imply each UNIX platform would need to have
    routines to convert the platform specific "struct stat" to the
    cross-platform definition of Tcl_Stat.
    
    Currently, (I believe) stat is defined in tclPort.h because it
    is very platform dependent.  That more than any other reason is
    why it is not in tclInt.h or tcl.h.
    
    None the less, I think it would be a good idea.  Certainly would
    make it easier for people to port extensions that are mucking
    with the file system.
    -Ray
    
    Tcl_Stat now exists in the public interface (included sometime
    before 8.2). 
    -- 08/12/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "make stat() a public interface"
  11. type changed to: "RFE"