Overview
| Artifact ID: | 474175bc102c580f21e573fbad9e52f6d6d47bef |
|---|---|
| Ticket: | 218500ffffffffffffffffffffffffffffffffff
Tcl_DumpActiveMemory() may close stdout (NULL) file descript |
| User & Date: | nobody on 2000-10-26 01:01:22 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 725 Bug Version: 8.0.3 SubmitDate: '1998-10-13' LastModified: '1999-09-16' Severity: SER Status: Released Submitter: admin ChangedBy: hobbs OS: All OSVersion: NA Machine: NA FixedDate: '1999-09-16' FixedInVersion: 8.2.2 ClosedDate: '2000-10-25' >While checking on procedures for debugging output, quite by chance I >happened to look at the 8.1a2 source of Tcl_DumpActiveMemory(), and I >think it has a bug: at the top, it considers a NULL filename pointer to >mean stdout, but at the bottom, it closes any file descriptor which isn't >stderr! I would think that those two bits of code need to agree on which >file descriptor they're operating on... This is still the case in 8.2.0. See Tcl_DumpActiveMemory in tclCkalloc.c for the problem. Was stdout or stderr intended? -- 08/14/1999 hobbs Changed to stderr, as intended from comment docs. -- 09/16/1999 hobbs
- foundin changed to: "obsolete: 8.0.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "37. File System"
- title changed to:
Tcl_DumpActiveMemory() may close stdout (NULL) file descript
- type changed to: "Bug"