fix #3832: use the locale encoding in openTempFile
authorSimon Marlow <marlowsd@gmail.com>
Wed, 20 Jan 2010 21:18:30 +0000 (21:18 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 20 Jan 2010 21:18:30 +0000 (21:18 +0000)
commita07a5ca8bc81f9ba49638d6ae5568d3e6a950af8
tree54bb67211be0f8b4c9906e17735874fabea8bcc0
parentcf0cf2421a449999aa218be35dba53dc87d52eaa
fix #3832: use the locale encoding in openTempFile
Also while I was here fix an XXX: the Handle contained an
uninformative string like <fd: 4> for error messages rather than the
real file path.
System/IO.hs