Age | Commit message (Collapse) | Author | Files | Lines |
---|---|---|---|---|
2007-01-26 | Both files in this commit exhibit the wrong way to use temporary files. | erik | 1 | -3/+24 |
For TEHistory.cpp, it uses tmpfile() which produces a file which has a name that can be guessed. For vmemo.cpp, it uses tmpname() which only creates a predictable string. Both uses have been switched to using mkstemp() wrapped around umask(). This produces a much less predictable file that also has guaranteed restrictive permissions. I went a little farther in vmemo because it calls out to the shell using system to 'mv' the new file. That is kinda wasteful so I switched it to use rename instead. | ||||
2002-10-14 | The new old TerminalWidget I'm anything but happy about it | zecke | 1 | -0/+212 |