git-posix_openpt
https://sourceware.org/ml/libc-alpha/2019-12/msg00799.html
Committed for 2.33
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Rearrange bsd_getpt vs bsd_openpt and implement posix_openpt on BSD
* sysdeps/unix/bsd/getpt.c (__getpt): Add oflag parameter, pass
it to the _open call and rename to...
(__bsd_openpt): ... new function.
[!HAVE_GETPT] (__getpt): Reimplement on top of __bsd_openpt.
(__posix_openpt): Replace stub with implementation on top of __bsd_openpt.
(posix_openpt): Remove stub warning.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-posix_openpt.diff