Overview
| Artifact ID: | d77e3ee995d2bc771d7c80edfe4552f89330ffb4 |
|---|---|
| Ticket: | 878333ffffffffffffffffffffffffffffffffff
workaround for buggy(??) mkstemp() on IRIX systems |
| User & Date: | sussner on 2004-01-16 15:25:54 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
This bug concerns only IRIX systems (6.5.19m) so far. Using a tclkit with included dynamic libraries results in the following error message when loading a second dynamic library from the vfs: > tclkit-irix % package require Itcl 3.3 % package require Tk couldn't find procedure Tk_Init % I tracked it down to the temporary filename create mkstemp() in TclpTempFileName() in tclUnixPipe.c. mkstemp() always uses the same filename, but keeps the content of the first file copied into it. I.e. a second call of TclCrossFilesystemCopy() means that the content of the first call is still present causing TclpFindSymbol() not to find the <EXT>_Init() procedure. Adding a counter to the temporary filename solves this problem. I submit a patch as well. hope that helps gerd ps: i just wonder whether i am the first one, using tclkits under IRIX.
- foundin changed to: "obsolete: 8.4.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "sussner"
- subsystem changed to: "37. File System"
- title changed to: "workaround for buggy(??) mkstemp() on IRIX systems"
- type changed to: "Bug"