Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 2f4b1f7

Browse files
authored
Merge pull request #3122 from MartinNowak/merge_stable
merge stable merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2 parents bde75dd + 965b9ae commit 2f4b1f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/sys/posix/sys/ioctl.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ version (CRuntime_Glibc)
214214
enum TIOCGSID = 0x5429;
215215

216216
enum TCGETS2 = _IOR!termios2('T', 0x2A);
217-
enum TCSETS2 = _IOR!termios2('T', 0x2B);
217+
enum TCSETS2 = _IOW!termios2('T', 0x2B);
218218
enum TCSETSW2 = _IOW!termios2('T', 0x2C);
219219
enum TCSETSF2 = _IOW!termios2('T', 0x2D);
220220

@@ -625,7 +625,7 @@ else version (CRuntime_UClibc)
625625
enum TIOCGSID = 0x5429;
626626

627627
enum TCGETS2 = _IOR!termios2('T', 0x2A);
628-
enum TCSETS2 = _IOR!termios2('T', 0x2B);
628+
enum TCSETS2 = _IOW!termios2('T', 0x2B);
629629
enum TCSETSW2 = _IOW!termios2('T', 0x2C);
630630
enum TCSETSF2 = _IOW!termios2('T', 0x2D);
631631

0 commit comments

Comments
 (0)