Re: [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const)

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <aguRQYY1MGTUkOu3@devuan>
Hey Tomasz,

On 2026-05-18T12:21:50+0100, Tomasz Kramkowski wrote:
> Hey Alex,
> 
> On Sun May 3, 2026 at 10:14 PM BST, Alejandro Colomar wrote:
> > Hi Tomasz,
> >
> > On 2026-05-01T15:57:01+0100, Tomasz Kramkowski wrote:
> >> Change the duplicate references to refer to all of the different
> >> variants of the TC{GET,SET{S,S2,W}{,W,F}} constants.

I think the first W should actually be an A.

> >> 
> >> This looks to be a bug which was introduced during a restructuring.
> >
> > Would you mind adding a Fixes:' tag for that bug?  It would help for
> > reviewing.
> >
> > See <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches/trailer#n16>
> > and <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/git#n46>.
> 
> Fixes: e59976296 (2024-06-13; "ioctl_tty.2, TC[SG]ET*.2const: Split TC[SG]ET* from ioctl_tty(2)")

Hmmm, it seems I pasted the blocks with the intention to edit, and then
forgot to actually edit.  Thanks!

> 
> I hope this is sufficient, but if not, let me know and I will re-send
> the patch with the tag.

This is enough.  I've applied the patch.


Have a lovely night!
Alex

> 
> Thanks,
> 
> Tomasz
> 
> > Have a lovely night!
> > Alex
> >
> >> 
> >> Signed-off-by: Tomasz Kramkowski <[email protected]>
> >> ---
> >>  man/man2/ioctl_tty.2 | 16 ++++++++--------
> >>  1 file changed, 8 insertions(+), 8 deletions(-)
> >> 
> >> diff --git a/man/man2/ioctl_tty.2 b/man/man2/ioctl_tty.2
> >> index 1d6e279c0..cb2776867 100644
> >> --- a/man/man2/ioctl_tty.2
> >> +++ b/man/man2/ioctl_tty.2
> >> @@ -42,21 +42,21 @@ whenever possible.
> >>  .TQ
> >>  .BR TCSETSF (2const)
> >>  .TP
> >> -.BR TCGETS (2const)
> >> +.BR TCGETS2 (2const)
> >>  .TQ
> >> -.BR TCSETS (2const)
> >> +.BR TCSETS2 (2const)
> >>  .TQ
> >> -.BR TCSETSW (2const)
> >> +.BR TCSETSW2 (2const)
> >>  .TQ
> >> -.BR TCSETSF (2const)
> >> +.BR TCSETSF2 (2const)
> >>  .TP
> >> -.BR TCGETS (2const)
> >> +.BR TCGETA (2const)
> >>  .TQ
> >> -.BR TCSETS (2const)
> >> +.BR TCSETA (2const)
> >>  .TQ
> >> -.BR TCSETSW (2const)
> >> +.BR TCSETAW (2const)
> >>  .TQ
> >> -.BR TCSETSF (2const)
> >> +.BR TCSETAF (2const)
> >>  .SS Locking the termios structure
> >>  .TP
> >>  .BR TIOCGLCKTRMIOS (2const)
> >> -- 
> >> 2.51.0
> >> 
> 
> -- 
> Tomasz (Tom) Kramkowski
> 

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmoLkaAACgkQ64mZXMKQ
wqmvUA/8DaHk9Fgz5MXeWSIreomXxP/Om1ao40oRJN9wIibghxO4ZlMiCscRULi5
Knie9N0iIXYnRLXPc4acX+ANgCbIEeYJ5/kandY32wvUpYYC8sKNavSO+HaTmUI3
YTIsnfVJR9IcDd7wluolCNgABt0rpNqPZMNS7bh4zd9E9V7X6MciIzha+38gINyN
GoCAe+sJWX03pJf9YDI1oJKE3xIB6NxrE+IXa/+WXk7Ic37ECePx98sqRvvTUFC0
kkWJpue3Bb6nx+XRSZhx42DM3fljG6P7g5OAVNubxgo6cb1mKAt3WIPskABE7fcG
8/NYcXy3GkYHHkiWa2OTVgynRJVVMpV+L7Il1aIYL6n9KMbj422xCcCNlJyiLf3A
Gulh6lEo2agFD6kT54n3289h1jF4NaUjSGNIExE+DurRPZ5AdYoMCOVCkrCleAjq
yNFWubQ5qrlC7UzaY9SiDf1qRBV0OvLBD7feyx1KQwfDanEN31fQF233h4LBgK1a
GDsDnpUl0sT7EclzS/+o/Nkqx1o2cMvFtw/wgmVDe9ZvG+fPevWqi3XtkD75zT0A
ShNHwkOQPi98wTfW5imbrisDxJ6m+AUJ1GdBVhFwtvRYXjGB1lGU2rS3A19rlrf9
ffLIMBPEZhnXwqkMublxz7QvYSVZLEfMlJlEOMLHKjRuAj8faLs=
=xGvt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.