Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modbus-rtu.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ static int _modbus_rtu_connect(modbus_t *ctx)

Timeouts are ignored in canonical input mode or when the
NONBLOCK option is set on the file via open or fcntl */
flags = O_RDWR | O_NOCTTY | O_NONBLOCK | O_EXCL;
flags = O_RDWR | O_NOCTTY | O_NONBLOCK;
#ifdef O_CLOEXEC
flags |= O_CLOEXEC;
#endif
Expand Down
Loading