Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bdb9fb4d3784f6aa313497feed91a29e4bfe63a8
Ticket: 466102ffffffffffffffffffffffffffffffffff
test winFCmd-2.5 hangs
User & Date: vincentdarley on 2001-10-05 18:03:18
Changes

  1. assignee changed to: "kennykb"
  2. icomment:
    Logged In: YES 
    user_id=32170
    
    Just to clarify, this test is testing a 'bad case', trying 
    to copy "" somewhere.  The hang most likely is occuring 
    when the Win32 CopyFileA/W function is called.
    
    The fix is probably to check first whether the path is both 
    non-null and non-empty, just as is currently done 
    with 'nativeDst'.  I leave this to Kenny to test, since I 
    don't have a suitable machine.
    
    Add something like:
    
    if (nativeSrc == NULL || (*nativeSrc == '\0')) {
       Tcl_SetErrno
       return TCL_ERROR;
    }
    
    
    
  3. login: "vincentdarley"
  4. mimetype: "text/plain"
  5. username: "vincentdarley"