summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/TEHistory.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-01-26Both files in this commit exhibit the wrong way to use temporary files.erik1-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-14The new old TerminalWidget I'm anything but happy about itzecke1-0/+212