public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/17010] New: posix_openpt not documented
@ 2014-06-02 12:11 GavinSmith0123 at gmail dot com
  2014-06-12 19:10 ` [Bug manual/17010] " fweimer at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: GavinSmith0123 at gmail dot com @ 2014-06-02 12:11 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

            Bug ID: 17010
           Summary: posix_openpt not documented
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: GavinSmith0123 at gmail dot com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org

There is no documentation of the posix_openpt function in the "Allocating
Pseudo-Terminals" section of the manual. (It is documented in the Linux
manpages.) It's not in the released manual for glibc 2.19 and not in the
manual/terminal.texi file in the current git repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
@ 2014-06-12 19:10 ` fweimer at redhat dot com
  2023-04-11 11:27 ` GavinSmith0123 at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:10 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
  2014-06-12 19:10 ` [Bug manual/17010] " fweimer at redhat dot com
@ 2023-04-11 11:27 ` GavinSmith0123 at gmail dot com
  2023-04-11 12:20 ` adhemerval.zanella at linaro dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: GavinSmith0123 at gmail dot com @ 2023-04-11 11:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

--- Comment #1 from Gavin Smith <GavinSmith0123 at gmail dot com> ---
This function has still not been documented. It means that the libc manual is
not the document that people should be looking at if they want to use
pseudo-terminals. The Linux manpages project seems to be more comprehensive in
this area.

The manual only documents getpt which is glibc-specific, as stated in the Linux
manpages:

       getpt() is glibc-specific; use posix_openpt(3) instead.

The maintainers of the GNU compatibility library gnulib said that there was no
need for them to support getpt when this bug was first reported:

https://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00030.html

It would make sense to have a consistent treatment of getpt across glibc and
gnulib as a function that should not be used in new programs, which means
documenting posix_openpt properly. I am willing to write and send a patch for
this if there is any chance of it being used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
  2014-06-12 19:10 ` [Bug manual/17010] " fweimer at redhat dot com
  2023-04-11 11:27 ` GavinSmith0123 at gmail dot com
@ 2023-04-11 12:20 ` adhemerval.zanella at linaro dot org
  2023-04-12  7:41 ` sam at gentoo dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2023-04-11 12:20 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Gavin Smith from comment #1)
> I am willing to write and send a patch
> for this if there is any chance of it being used.

Thanks, this would be a good approach. Please check the contribution checklist
[1].

[1] https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
                   ` (2 preceding siblings ...)
  2023-04-11 12:20 ` adhemerval.zanella at linaro dot org
@ 2023-04-12  7:41 ` sam at gentoo dot org
  2023-04-12 13:21 ` GavinSmith0123 at gmail dot com
  2023-04-12 13:22 ` GavinSmith0123 at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: sam at gentoo dot org @ 2023-04-12  7:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
                   ` (3 preceding siblings ...)
  2023-04-12  7:41 ` sam at gentoo dot org
@ 2023-04-12 13:21 ` GavinSmith0123 at gmail dot com
  2023-04-12 13:22 ` GavinSmith0123 at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: GavinSmith0123 at gmail dot com @ 2023-04-12 13:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

--- Comment #3 from Gavin Smith <GavinSmith0123 at gmail dot com> ---
Sent here: https://sourceware.org/bugzilla/show_bug.cgi?id=17010

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug manual/17010] posix_openpt not documented
  2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
                   ` (4 preceding siblings ...)
  2023-04-12 13:21 ` GavinSmith0123 at gmail dot com
@ 2023-04-12 13:22 ` GavinSmith0123 at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: GavinSmith0123 at gmail dot com @ 2023-04-12 13:22 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17010

--- Comment #4 from Gavin Smith <GavinSmith0123 at gmail dot com> ---
Sent here: https://sourceware.org/pipermail/libc-alpha/2023-April/147191.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-12 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-02 12:11 [Bug manual/17010] New: posix_openpt not documented GavinSmith0123 at gmail dot com
2014-06-12 19:10 ` [Bug manual/17010] " fweimer at redhat dot com
2023-04-11 11:27 ` GavinSmith0123 at gmail dot com
2023-04-11 12:20 ` adhemerval.zanella at linaro dot org
2023-04-12  7:41 ` sam at gentoo dot org
2023-04-12 13:21 ` GavinSmith0123 at gmail dot com
2023-04-12 13:22 ` GavinSmith0123 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).