Skip to content

Commit dafed96

Browse files
committed
Release 2.3.1
1 parent 0f907f8 commit dafed96

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

evdev-streamly/evdev-streamly.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ library
3636
rawfilepath ^>= {1.0, 1.1},
3737
streamly ^>= 0.8,
3838
streamly-fsnotify ^>= 1.1.1,
39-
unix ^>= 2.7.2,
39+
unix ^>= 2.8,
4040
default-language: GHC2021
4141
default-extensions:
4242
LambdaCase

evdev/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Revision history for evdev
22

3+
## 2.3.1 -- 01-09-2023
4+
* Migrate to `unix-2.8`.
5+
36
## 2.3.0 -- 01-09-2023
47
* Add `deviceOptsFromEvents` for more easily creating UInput devices with desired capabilities.
58
* Add some extra `Read` instances.

evdev/evdev.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: evdev
3-
version: 2.3.0
3+
version: 2.3.1.1
44
author: George Thomas
55
maintainer: George Thomas
66
description: Provides access to the Linux event device interface.
@@ -28,7 +28,7 @@ common common
2828
mtl ^>= {2.2, 2.3},
2929
rawfilepath ^>= {1.0, 1.1},
3030
time ^>= {1.9.3, 1.10, 1.11, 1.12, 1.13},
31-
unix ^>= 2.7.2,
31+
unix ^>= 2.8,
3232
default-language: GHC2021
3333
default-extensions:
3434
BlockArguments

evdev/src/Evdev.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ toCTimeVal t = LL.CTimeVal n (round $ f * 1_000_000)
205205
Use 'newDeviceFromFd' if you need more control over how the device is created.
206206
-}
207207
newDevice :: RawFilePath -> IO Device
208-
newDevice path = newDeviceFromFd =<< openFd path ReadWrite Nothing defaultFileFlags
208+
newDevice path = newDeviceFromFd =<< openFd path ReadWrite defaultFileFlags
209209

210210
{- | Generalisation of 'newDevice', in case one needs control over the file descriptor,
211211
e.g. in order to set a particular 'System.Posix.FileMode', 'System.Posix.OpenMode', or 'System.Posix.OpenFileFlags'.

0 commit comments

Comments
 (0)