public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Joseph Myers <jsm28@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h Date: Mon, 24 Oct 2022 13:43:34 +0000 (GMT) [thread overview] Message-ID: <20221024134334.4602B385840A@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b87a70e5e26e2656637da5f58ba4d26777d9e37b commit b87a70e5e26e2656637da5f58ba4d26777d9e37b Author: Joseph Myers <joseph@codesourcery.com> Date: Mon Oct 24 13:43:19 2022 +0000 Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h Linux 6.0 adds a constant ADDRB, a termios c_cflag bit, to its include/uapi/asm-generic/termbits-common.h. Add it accordingly to glibc's bits/termios-c_cflag.h headers. As other constants in these headers are generally in octal, I converted the value to octal to match. As ADDRB isn't in a POSIX-reserved namespace, I made it conditional on __USE_MISC. Tested for x86_64. Diff: --- sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h | 4 ++++ sysdeps/unix/sysv/linux/bits/termios-c_cflag.h | 4 ++++ sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h b/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h index d2d27cc6b3..c683aa47b0 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h @@ -33,3 +33,7 @@ #define HUPCL 00040000 #define CLOCAL 00100000 + +#ifdef __USE_MISC +# define ADDRB 04000000000 +#endif diff --git a/sysdeps/unix/sysv/linux/bits/termios-c_cflag.h b/sysdeps/unix/sysv/linux/bits/termios-c_cflag.h index 677263911e..f5acd58088 100644 --- a/sysdeps/unix/sysv/linux/bits/termios-c_cflag.h +++ b/sysdeps/unix/sysv/linux/bits/termios-c_cflag.h @@ -32,3 +32,7 @@ #define PARODD 0001000 #define HUPCL 0002000 #define CLOCAL 0004000 + +#ifdef __USE_MISC +# define ADDRB 04000000000 +#endif diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h b/sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h index fa4bdea9be..8aac22369a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h +++ b/sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h @@ -33,3 +33,7 @@ #define HUPCL 00040000 #define CLOCAL 00100000 + +#ifdef __USE_MISC +# define ADDRB 04000000000 +#endif
reply other threads:[~2022-10-24 13:43 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221024134334.4602B385840A@sourceware.org \ --to=jsm28@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).