>Your patch just blindly sets EBADF when the windows error is
>ERROR_ACCESS_DENIED.  I am not convinced that this is a correct
>solution.
>
>cgf

I'm not certain either. I have no experience programming for windows.

The docs for ReadFile/WriteFile did not even indicate that 
ERROR_ACCESS_DENIED was a valid return code. The idea of access failure 
makes more sense for open or create.

I have no idea what else could cause it. But I suspect there are no cases 
where write returns EACCES under POSIX.


David F

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Reply via email to