Skip to content

Commit 1642647

Browse files
committed
Merge in master.
2 parents 67c6296 + 3c58fb1 commit 1642647

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10-
## [2.8.4] - 2025-05-08
10+
## [2.8.5] - 2025-06-08
1111

1212
- Fixed bug where if SerialPort is destroyed before Open has been called, it attempts to close using an uninitialised file descriptor, closes #57.
1313

14+
## [2.8.4] - 2025-04-09
15+
16+
- Added support for CMake 4.0+ by dropping support for CMake 3.1 and setting the minimum required CMake version to 3.5.
17+
1418
## [2.8.3] - 2025-04-01
1519

1620
- Changed the read buffers allocation from `reserve()` to `resize()`. This should fix potential crashes due to a misuse of the C++ std API.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1.0)
1+
cmake_minimum_required(VERSION 3.5.0)
22

33
project(CppLinuxSerial VERSION 2.7.1)
44

include/CppLinuxSerial/SerialPort.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ namespace mn {
249249
SoftwareFlowControl softwareFlowControl_ = SoftwareFlowControl::OFF;
250250

251251
/// \brief The file descriptor for the open file. This gets written to when Open() is called.
252-
int fileDesc_;
252+
int fileDesc_ = -1;
253253

254254
bool echo_;
255255

0 commit comments

Comments
 (0)