Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: fix isRead check on file descriptor #289

Merged
merged 2 commits into from
Apr 21, 2020
Merged

fix: fix isRead check on file descriptor #289

merged 2 commits into from
Apr 21, 2020

Commits on Apr 20, 2020

  1. fix: fix isRead check on file descriptor

    The argument flags must include one of the following access modes:
    O_RDONLY, O_WRONLY, or O_RDWR.  These request opening the file read-
    only, write-only, or read/write, respectively.
    O_RDONLY is 0, O_WRONLY is 1, O_RDWR is 2, the flags use 2 bits for 3 states: 0 (0b00) / 1 (0b01) / 2 (0b10), the 2 bits will never be 3 (0b11).
    
    closes #288
    3cp committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    15d7e3e View commit details
    Browse the repository at this point in the history
  2. test: clarify tests

    3cp committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    ede39f4 View commit details
    Browse the repository at this point in the history