git-posix_openpt
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 15 Aug 2024 09:21:36 +0000 (11:21 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 15 Aug 2024 09:21:36 +0000 (11:21 +0200)
commit026f6f373693467b213cfa096c2bdea1f589f6dc
treea15d0beb3fffd9cb1c4aee35024eb548cd40fd60
parent7caabf8bafc0dd6c6473ffa72cbc813853f09119
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