Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e91dfdc805c6dca865d4d051e88285b0430abdb0
Ticket: 672938ffffffffffffffffffffffffffffffffff
Bad exec behaviour at Tcl 8.4.1
User & Date: davygrvy on 2003-01-24 04:51:12
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    That behavior can be removed by taking out the part where 
    that is quoted.
    
    diff -c -r1.32 tclWinPipe.c
    *** tclWinPipe.c17 Dec 2002 02:47:39 -00001.32
    --- tclWinPipe.c23 Jan 2003 21:43:15 -0000
    ***************
    *** 1594,1604 ****
      Tcl_DStringAppend(&ds, "\\\"", 2);
      start = special + 1;
          }
    !     if (*special == '{') {
      Tcl_DStringAppend(&ds, start, special -
     start);
      Tcl_DStringAppend(&ds, "\\{", 2);
      start = special + 1;
    !     }
          if (*special == '\0') {
      break;
          }
    --- 1594,1604 ----
      Tcl_DStringAppend(&ds, "\\\"", 2);
      start = special + 1;
          }
    ! /*    if (*special == '{') {
      Tcl_DStringAppend(&ds, start, special -
     start);
      Tcl_DStringAppend(&ds, "\\{", 2);
      start = special + 1;
    !     }*/
          if (*special == '\0') {
      break;
          }
    
    What's interesting is that this is now showing itself.  There 
    are a set of rules this quoting mechanism needs to do so 
    args can be pulled back out of the single string and placed in 
    an argv array by the process that this line is handed.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"