Artifacts Associated With Ticket 426135ffffffffffffffffffffffffffffffffff
Ticket change [0383f42ee9] (rid 119840) by tmh on 2001-05-22 01:14:51:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.4a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tmh"
- subsystem initialized to: "36. Pathname Management"
- title initialized to: "Tcl_SplitPath(NULL, &ac, &av) crashes"
- type initialized to: "Bug"
Ticket change [f227baa216] (rid 109490) by hobbs on 2001-05-22 09:01:04:
- closedate changed to: "2001-05-22T02:01:04"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "hobbs"