Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0383f42ee90f84cf980335e12059bebc8130b7ad
Ticket: 426135ffffffffffffffffffffffffffffffffff
Tcl_SplitPath(NULL, &ac, &av) crashes
User & Date: tmh on 2001-05-22 01:14:51
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    when calling Tcl_SplitPath(NULL, argcPtr, argvPtr), I
    am receiving a segmentation violation.  I know, why
    would you call this function with a NULL.  In my case,
    I was calling it in conjunction with
    Tcl_GetNameOfExecutable
    
    Tcl_SplitPath(Tcl_GetNameOfExecutable(),&argcPtr,
    &argvPtr);
    
    This is causing the error.
    
    I believe that Tcl_SplitPath() should return NULL and
    0 when passed a NULL path.
    
  4. foundin changed to: "obsolete: 8.4a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "tmh"
  9. subsystem changed to: "36. Pathname Management"
  10. title changed to: "Tcl_SplitPath(NULL, &ac, &av) crashes"
  11. type changed to: "Bug"