Skip to content
Tcl Source Code History Of Ticket 3517838
Login

History Of Ticket 3517838

Artifacts Associated With Ticket 3517838

  1. Ticket change [94b955a5fd] (rid 106039) by lobotomy642 on 2012-04-14 21:30:33:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hello,
      
      When trying to write a Virtual File System extension, the function for FSAccessProc takes the parameter "mode" which is said from the corresponding TclLib man page to be a bit-field with these constant R_OK, W_OK, X_OK and F_OK.
      
      However, in my current installation of TCL (v8.5.11 in Linux/debian), these constant are not available with the simple <tcl.h> include.
      Furthermore, a quick search seemed to show that they are defined in "tcl-private/unix/tclUnixPort.h", which as far as it looks is for Unix flavours only, thus may bring compatibility issues.
      
      Consequently, I propose to have these constants defined in the <tcl.h>. And a quick note in the man page to specify that F_OK is actually 0 and not a bit in the field, in case someone would try to do (mode & F_OK) in their code.
      
    4. foundin initialized to: "obsolete: 8.5.11"
    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: "lobotomy642"
    10. subsystem initialized to: "37. File System"
    11. title initialized to: "Constants R_OK, W_OK, X_OK and F_OK are undefined"
    12. type initialized to: "Bug"
  2. Ticket change [cef3bafd94] (rid 112874) by nijtmans on 2012-04-16 17:19:05:

    1. assignee changed to: "nijtmans"
    2. icomment:
      Those symbols are supposed to be
      defined in <unistd.h> on UNIX and
      <io.h> on Windows, that's what the
      documentation should mention.
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  3. Ticket change [a4ee7a0ddf] (rid 110283) by dgp on 2012-04-16 22:21:23:

    1. icomment:
      This is a dup of 945570.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [d2fb9e8daf] (rid 113617) by nijtmans on 2012-04-17 04:34:55:

    1. closedate changed to: "2012-04-16T21:34:55"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Thanks, Don!
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "nijtmans"