diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-11-15 20:33:11 +0100 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2017-11-15 20:47:02 +0100 |
commit | d10d6cab168ffa26ef6a506655ee5dc8537c8ed7 (patch) | |
tree | ccd40f8f9aebad8556d7fb8b7d65ac07d0fd0eb8 /ChangeLog | |
parent | 9b5a87502d048905c383b65c51768f4a1db8c685 (diff) | |
download | glibc-d10d6cab168ffa26ef6a506655ee5dc8537c8ed7.tar glibc-d10d6cab168ffa26ef6a506655ee5dc8537c8ed7.tar.gz glibc-d10d6cab168ffa26ef6a506655ee5dc8537c8ed7.tar.bz2 glibc-d10d6cab168ffa26ef6a506655ee5dc8537c8ed7.zip |
linux ttyname: Change return type of is_pty from int to bool
is_pty returning a bool is fine since there's no possible outcome other than
true or false, and bool is used throughout the codebase.
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2017-11-15 Luke Shumaker <lukeshu@parabola.nu> + * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from + int to bool. + * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference. * manual/terminal.texi (Is It a Terminal): |