This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 3/5] linux ttyname and ttyname_r: Make the TTY equivalence tests consistent [BZ #22145]
- From: Luke Shumaker <lukeshu at lukeshu dot com>
- To: Luke Shumaker <lukeshu at parabola dot nu>
- Cc: libc-alpha at sourceware dot org, christian dot brauner at mailbox dot org
- Date: Wed, 08 Nov 2017 11:16:36 -0500
- Subject: Re: [PATCH v2 3/5] linux ttyname and ttyname_r: Make the TTY equivalence tests consistent [BZ #22145]
- Authentication-results: sourceware.org; auth=none
- References: <20171102185346.1386-1-lukeshu@parabola.nu> <20171102185346.1386-4-lukeshu@parabola.nu>
On Thu, 02 Nov 2017 14:53:44 -0400,
Luke Shumaker wrote:
> @@ -33,3 +33,15 @@ is_pty (struct stat64 *sb)
> return false;
> #endif
> }
> +
> +static inline bool
> +is_mytty(const struct stat64 *mytty, const struct stat64 *maybe)
Style: there should be a space before the "(".
--
Happy hacking,
~ Luke Shumaker