From: matz@... (Yukihiro Matsumoto) Date: 2004-05-06T09:28:59+09:00 Subject: Re: Tempfile strangeness Hi, In message "Tempfile strangeness" on 04/05/06, Florian Frank writes: |this throws an exception Errno::EACCESS under Windows | |ruby -r tempfile -e 'Tempfile.new("foo").unlink' | |but works under Unixen. I think the behaviour ought to be consistent on |both. Closing the tempfile before unlinking it, seems to help (see |patch). What do you think? How about ignoring EACCESS? The tempfile will be removed anyway, allowing almost portable behavior. matz.