Fix `open' mode bits on GNU/Hurd.
authorLudovic Courtès <ludo@gnu.org>
Tue, 12 Jul 2011 21:57:57 +0000 (23:57 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 12 Jul 2011 22:02:00 +0000 (00:02 +0200)
commit126a32243146d9ad238a3a5adb8d6af5a87ad2aa
treecefaeb936c2cd82023d3e6b65cfcb796247512de
parent3565df4546d97da4be573610a73f333d45a6287a
Fix `open' mode bits on GNU/Hurd.

* libguile/filesys.c (scm_open): Fix check for read-write flags for
  systems such as GNU/Hurd, where O_RDWR == (O_WRONLY | O_RDONLY)
  and O_RDONLY != 0.
libguile/filesys.c