Skip to content

Commit deec65c

Browse files
committed
Revert the CIBAUD change.
It appears GLIBC on powerpc lacks a `CIBAUD` definition, which is surprising since Linux and Musl on powerpc both have it. So revert the `CIBAUD` change.
1 parent b5aaa6f commit deec65c

File tree

10 files changed

+7
-3
lines changed

10 files changed

+7
-3
lines changed

libc-test/semver/linux-aarch64.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ BPF_SUB
3737
BPF_W
3838
BPF_X
3939
BPF_XOR
40+
CIBAUD
4041
FICLONE
4142
FICLONERANGE
4243
MADV_SOFT_OFFLINE

libc-test/semver/linux-i686.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ B2500000
22
B3000000
33
B3500000
44
B4000000
5+
CIBAUD
56
CS
67
DS
78
EAX

libc-test/semver/linux-mips.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ B2500000
22
B3000000
33
B3500000
44
B4000000
5+
CIBAUD
56
PTRACE_GETFPREGS
67
PTRACE_GETFPXREGS
78
PTRACE_GETREGS

libc-test/semver/linux-riscv64gc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ B2500000
22
B3000000
33
B3500000
44
B4000000
5+
CIBAUD
56
KEYCTL_CAPABILITIES
67
KEYCTL_CAPS0_BIG_KEY
78
KEYCTL_CAPS0_CAPABILITIES

libc-test/semver/linux-s390x.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ B2500000
22
B3000000
33
B3500000
44
B4000000
5+
CIBAUD
56
KEYCTL_CAPABILITIES
67
KEYCTL_CAPS0_BIG_KEY
78
KEYCTL_CAPS0_CAPABILITIES

libc-test/semver/linux-sparc64.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ B153600
22
B307200
33
B614400
44
B76800
5+
CIBAUD
56
KEYCTL_CAPABILITIES
67
KEYCTL_CAPS0_BIG_KEY
78
KEYCTL_CAPS0_CAPABILITIES

libc-test/semver/linux-x86_64.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ BPF_SUB
3737
BPF_W
3838
BPF_X
3939
BPF_XOR
40+
CIBAUD
4041
CS
4142
DS
4243
ES

libc-test/semver/linux.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ CAN_RAW_FD_FRAMES
239239
CAN_RAW_JOIN_FILTERS
240240
CBAUD
241241
CBAUDEX
242-
CIBAUD
243242
CLD_CONTINUED
244243
CLD_DUMPED
245244
CLD_EXITED

src/unix/linux_like/linux/gnu/b32/powerpc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ pub const ISIG: ::tcflag_t = 0x80;
371371
pub const ICANON: ::tcflag_t = 0x100;
372372
pub const PENDIN: ::tcflag_t = 0x20000000;
373373
pub const NOFLSH: ::tcflag_t = 0x80000000;
374-
pub const CIBAUD: ::tcflag_t = 0xff0000;
375374
pub const VSWTC: usize = 9;
376375
pub const OLCUC: ::tcflag_t = 0o000004;
377376
pub const NLDLY: ::tcflag_t = 0o001400;

src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ pub const ISIG: ::tcflag_t = 0x80;
516516
pub const ICANON: ::tcflag_t = 0x100;
517517
pub const PENDIN: ::tcflag_t = 0x20000000;
518518
pub const NOFLSH: ::tcflag_t = 0x80000000;
519-
pub const CIBAUD: ::tcflag_t = 0xff0000;
520519
pub const VSWTC: usize = 9;
521520
pub const OLCUC: ::tcflag_t = 0o000004;
522521
pub const NLDLY: ::tcflag_t = 0o001400;

0 commit comments

Comments
 (0)