Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 60acfd49c449f1c9847c964815ba9f649ca3d8e2
Ticket: 1202209fffffffffffffffffffffffffffffffff
Darwin: [load] from memory
User & Date: das on 2005-05-15 05:38:12
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Darwin 7 or later can load .bundle dynamically loadable binaries 
    from memory; this allows direct [load]ing of such binaries from 
    VFS, instead of having to first copy them out of VFS to a 
    temporary location as is done in the core currently.
    
    The attached patch adds that capability to TclLoadFile() in 
    tclIOUtil.c (when TCL_LOAD_FROM_MEMORY is #defined), 
    through new platform specific procs TclpLoadMemoryGetBuffer() 
    and TclpLoadMemory().
    
    These are only implemented in tclLoadDyld.c at present, but other 
    platforms may have the capability to load binary code from 
    memory as well?
    
    I would be grateful for review and comments on the tclIOUtil.c 
    changes, esp concerning availability of loading code from memory 
    on other platforms.
    
    Given that this change only affects internal APIs I don't believe it 
    needs to be TIPd but the requirements of other platforms should 
    be considered in the design...
    
    The patch also has contains other independent fixes & 
    improvements to tclLoadDyld.c
    
    
  4. foundin changed to: "None"
  5. priority changed to: "6"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "das"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Darwin: [load] from memory"
  11. type changed to: "Bug"