Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d39ef9d149623f379baaedc04955f41847452c95
Ticket: 578159ffffffffffffffffffffffffffffffffff
exec-18.1 fails under WinNT
User & Date: andreas_kupries on 2002-07-09 03:33:25
Changes

  1. assignee changed to: "vincentdarley"
  2. icomment:
    Logged In: YES 
    user_id=75003
    
    Sorry Vince. The difference the between the old and new 
    testcase is whether 'exec cat' is given a relative path (old), or 
    an absolute path (new).
    
    I added some debug output to winPipe, to get a look at the 
    actual command executed (in BuildCommandLine, just before 
    the conversion to TChar*).
    
    The old test runs:
            C:\cygwin\bin\cat.exe foo[\{blah
    
    and the new test calls
            C:\cygwin\bin\cat.exe 
    C:/cygwin/home/Administrator/84/b/foo[\{blah
    
    In the second case something cuts the path off after the '[\', 
    just before the brace. Adding a [file nativename] around the 
    absolute path does not help. The command now run is
    
           C:\cygwin\bin\cat.exe C:\cygwin\home\Administrator\84
    \b\foo[\{blah
    
    and is cut off as before.
    
    To me this looks like a quoting issue in exec, and not as a 
    problem of the testcase. Except that the testcase uncovers 
    the problem now.
    
    Handing over.
    
    
    
  3. login: "andreas_kupries"
  4. mimetype: "text/plain"
  5. username: "andreas_kupries"