Skip to content
Tcl Source Code History Of Ticket 2388866fffffffff
Login

History Of Ticket 2388866fffffffff

Artifacts Associated With Ticket 2388866fffffffff

  1. Ticket change [0ef5b40ff9] (rid 94710) by dgp on 2008-12-04 14:30:10:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      [file tempfile var template] is supposed
      to use the template as a pattern on what
      pathname to give the temporary file.  If
      the directory part of the template points
      into a mounted vfs, though, this cannot
      work, since the deep guts of [file tempfile]
      are written in terms of native syscalls
      such as mkstemps() which know nothing about
      Tcl's collection of virtual filesystems.
      
      [fileutil::tempfile] has other design
      troubles, but it does not suffer from this
      limitation.  I don't see why we should
      accept it from [file tempfile].
      
      
      
    4. foundin initialized to: "obsolete: 8.6a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "[file tempfile] can only create file in native fs"
    12. type initialized to: "RFE"
  2. Ticket change [9f26e58698] (rid 96588) by ferrieux on 2008-12-04 21:48:44:

    1. icomment:
      (I know Donal loves when I try to rewrite history, but...)
      May I ask why TIP#210 was accepted then ?
      Obviously all these matters cannot be handled more elegantly than by the script level, which provides the proper abstractions; moreover there's no real performance catch here.
      So what's the point of a C implementation ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [0b2316902b] (rid 113928) by hobbs on 2008-12-05 01:23:47:

    1. icomment:
      I would say this is a limitation of the implementation that can be fixed for 8.6.0.  All you need to do is check if template points to a non-native area and fallback to a virtual file.  I could see this potentially having issues with certain vfses, but that would be up to the end developer and their choice of vfs.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  4. Ticket change [970e364311] (rid 106442) by dkf on 2008-12-07 03:15:03:

    1. icomment:
      Forced to use the native FS for now; attempting to put the file in a virtual FS makes that part of the template get dropped instead. This means that the temporary is available for use with OS APIs and external programs.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [7d4a909a99] (rid 97217) by dkf on 2008-12-07 03:15:04:

    1. priority changed to: "4"
  6. Ticket change [3fc5db9bc2] (rid 121521) by dgp on 2009-12-10 02:48:52:

    1. priority changed to: "9 Immediate"
  7. Ticket change [ee1a55addc] (rid 104025) by dkf on 2009-12-14 17:02:16:

    1. closedate changed to: "2009-12-14T10:02:16"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      Since it is impossible to use a tempfile in a virtual filesystem with any non-Tcl API, why on earth would you want otherwise? Any time you need a temporary filename, it's because you're passing it off to something nasty that can't take things in some other nicer way. 
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "dkf"
  8. Ticket change [52be0c1bb4] (rid 126369) by dgp on 2009-12-14 21:42:43:

    1. foundin changed to: "None"
    2. icomment:
      
      
      allow_comments - 0
      
      
      
      data_type - 360894
      
      converted to Feature Request.
      
      The existence of [fileutil::tempfile]
      demonstrates this is not infeasible.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "5 Medium"
    6. resolution changed to: "None"
    7. status changed to: "Open"
    8. subsystem changed to: "16. Commands A-H"
    9. username: "dgp"
  9. Ticket change [acc6007729] (rid 101350) by dkf on 2009-12-14 21:57:57:

    1. assignee changed to: "dgp"
  10. Ticket change [6905b40018] (rid 103171) by kennykb on 2009-12-14 22:03:19:

    1. icomment:
      There are still platforms - perhaps most - where [load] from a vfs requires copying the module to a temp file. If the tempfile is in a vfs that doesn't support direct loading, THEN what are we supposed to do?
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"