Skip to content
Tcl Source Code History Of Ticket 426135ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 426135ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 426135ffffffffffffffffffffffffffffffffff

  1. Ticket change [0383f42ee9] (rid 119840) by tmh on 2001-05-22 01:14:51:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tmh"
    9. subsystem initialized to: "36. Pathname Management"
    10. title initialized to: "Tcl_SplitPath(NULL, &ac, &av) crashes"
    11. type initialized to: "Bug"
  2. Ticket change [f227baa216] (rid 109490) by hobbs on 2001-05-22 09:01:04:

    1. closedate changed to: "2001-05-22T02:01:04"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Tcl_SplitPath is not defined to take a NULL first arg, 
      which is to say that it requires a non-NULL one.  Since 
      this is an old function, I would recommend not changing it 
      as that may lead to the invalid perception that NULL may be 
      passed safely (which would only be valid in 8.4+).  I think 
      we'll have to stick with checking for NULL.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "hobbs"