Commit Graph

8 Commits (eefcc554c0d3e0b025f01488c9909407ef731bc2)

Author SHA1 Message Date
Dustin eefcc554c0 inotify: Correctly handle multi-struct reads
When reading from the *inotify* file descriptor, multiple structs can be
returned. Because the read loop was incorrectly calculating offsets,
messages would frequently get lost in this way. This commit simplifies
the logic of the read loop, using only a single position indicator and
correctly calculating all offsets from that on each iteration. The
result is that no more messages are incorrectly skipped.
2018-09-03 14:29:28 -05:00
Dustin b7070876e5 Begin version 1.1.1 development 2018-09-03 14:26:39 -05:00
Dustin C. Hatch 07d2e75e67 unshare: Add bindings for unshare(2) 2016-11-15 09:30:41 -06:00
Dustin C. Hatch 5970b83721 Begin version 1.1 development 2016-11-15 09:30:39 -06:00
Dustin C. Hatch 485fa1c558 inotify: Correctly parse multiple structs at once
When multiple events arrive together, the `Inotify.read()` method parsed
them incorrectly and emitted the same `Event` for each one. This commit
corrects this behavior by appropriately parsing each struct.
2016-09-24 15:41:03 -05:00
Dustin C. Hatch 533071b981 Begin version 1.0.1 development 2016-09-24 15:40:17 -05:00
Dustin C. Hatch 5486f38b79 Add RPM spec and fmpkg specification 2016-09-23 10:24:18 -05:00
Dustin C. Hatch 2c2c55d0ef Initial commit 2016-09-17 09:41:43 -05:00