forked from chrisjbillington/inotify_simple
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use O_CLOEXEC and O_NONBLOCK from the os module
Instead of hard-coding them. It turns out they are architecture-specific. What we really want are `IN_CLOEXEC` and `IN_NONBLOCK`, but they appear to be identical to the constants in the `os` module, the `IN_*` constants are not available through the interpreter, and we don't want to have to parse C header files to get them. Addresses an issue raised in the discussion thread for chrisjbillington#20
- Loading branch information
1 parent
a88bdb5
commit 4e92ebd
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters