Message ID | 20191231170135.gqbv35jdlqfmomee@function |
---|---|
State | New |
Headers | show |
Series | getpt.3: Remove mention of O_NOCTTY | expand |
Hello Samuel On 12/31/19 6:01 PM, Samuel Thibault wrote: > The glibc implementation of getpt has actually never been setting > O_NOCTTY when opening /dev/ptmx or BSD ptys. > > Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> (Inline patches preferred.) Thanks. Patch applied. Cheers, Michael
--- ./man3/getpt.3.orig 2019-12-31 17:58:50.046714199 +0100 +++ ./man3/getpt.3 2019-12-31 17:59:00.706722831 +0100 @@ -21,7 +21,7 @@ .PP .in +4n .EX -open("/dev/ptmx", O_RDWR | O_NOCTTY); +open("/dev/ptmx", O_RDWR); .EE .in .PP
The glibc implementation of getpt has actually never been setting O_NOCTTY when opening /dev/ptmx or BSD ptys. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>