FIX #1258: document that openTempFile is secure(ish)
authorSimon Marlow <simonmar@microsoft.com>
Tue, 23 Oct 2007 13:09:28 +0000 (13:09 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 23 Oct 2007 13:09:28 +0000 (13:09 +0000)
commited89c51364112c79781e2fd20d4e50002c5f35ad
tree6145fbd7d253a58c535fce6d49bbb29cb3f8658c
parent3f0474cf1aefec7a2b3dae76c2b754a92da8b8b2
FIX #1258: document that openTempFile is secure(ish)
Also change the mode from 0666 to 0600, which seems like a more
sensible value and matches what C's mkstemp() does.
System/IO.hs