git-posix_openpt
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 15 Feb 2024 22:29:51 +0000 (22:29 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 15 Feb 2024 22:29:51 +0000 (22:29 +0000)
commit2bc8d5ba14f3eaf5c8cffece558ac1a8c32318df
tree68e64b8e5d5a85acb157dfb866432c8903f5304d
parentc162c0abc686a5d854d411ee40aa6d27573adf06
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
sysdeps/unix/bsd/getpt.c