Unify accepted errno flags for access
authorClemens Lang <neverpanic@gmail.com>
Sun, 21 Sep 2014 15:45:56 +0000 (17:45 +0200)
committerClemens Lang <neverpanic@gmail.com>
Sun, 21 Sep 2014 15:45:56 +0000 (17:45 +0200)
commit5c5484c8006f3df63d4cfb640f947f6391ea192f
tree4ad850d3a042e8caa680bfa4bfa79431e00c3a02
parent03cc92646d3b2c49b850de0952aeaaf1ef863d7d
Unify accepted errno flags for access

The ByteString variant of the access function didn't accept the same
flags as the non-ByteString one, but it makes sense that the OS doesn't
care about which one is being used and returns all error codes for both
variants.
System/Posix/Files/ByteString.hsc