aboutsummaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-28 13:27:50 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-28 13:27:50 -0400
commit8404fc3a441bcd77641dc0b3717298bc950fd9e5 (patch)
tree8598d46efe5502faf8c2575b49b2e4979726c3ef /doc/todo
parent4dc63ba1e8b0075db0e20dba61683360acb0f972 (diff)
downloadikiwiki-8404fc3a441bcd77641dc0b3717298bc950fd9e5.tar
ikiwiki-8404fc3a441bcd77641dc0b3717298bc950fd9e5.tar.gz
response
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/unified_temporary_file__47__directory_handling.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/unified_temporary_file__47__directory_handling.mdwn b/doc/todo/unified_temporary_file__47__directory_handling.mdwn
index 99bacf097..1e39d0671 100644
--- a/doc/todo/unified_temporary_file__47__directory_handling.mdwn
+++ b/doc/todo/unified_temporary_file__47__directory_handling.mdwn
@@ -3,3 +3,12 @@ typical place for security bugs. Would it be worthwhile to have library functio
and directories? If nothing else, it would serve as documentation of the "official way".
Off to cut and paste :-) --[[DavidBremner]]
+
+> Hmm, I see only three users of temp files in all ikiwiki:
+> * hnb uses `File::Temp::mkstemp` to create two temp file handles.
+> * teximg uses `File::Temp::tempdir` to create a temporary directory.
+> * attachment retrieves a temp file from `CGI::tmpFileName`.
+> These are three quite different uses of temp files, not subject to
+> unification. Using `File::Temp` (and avoiding the posibly insecure
+> `mktemp`, `tmpname`, and `tempnam` functions) is probably as unified as
+> can be managed. --[[Joey]]