bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port 'openpty' to all Unix platforms


From: Bruno Haible
Subject: Re: port 'openpty' to all Unix platforms
Date: Mon, 22 Mar 2010 21:09:38 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> POSIX does not specify openpty, so this comment is misleading.

Oops, you're right. Fixed:


2010-03-21  Bruno Haible  <address@hidden>

        Fix comments.
        * lib/forkpty.c (rpl_forkpty): Fix comment.
        * lib/openpty.c (rpl_openpty): Likewise.
        Reported by Eric Blake.

--- lib/forkpty.c.orig  Mon Mar 22 21:07:11 2010
+++ lib/forkpty.c       Mon Mar 22 21:06:27 2010
@@ -21,7 +21,7 @@
 
 #if HAVE_FORKPTY
 
-/* Provider a wrapper with the precise POSIX prototype.  */
+/* Provide a wrapper with the prototype of glibc-2.8 and newer.  */
 # undef forkpty
 int
 rpl_forkpty (int *amaster, char *name, struct termios const *termp,
--- lib/openpty.c.orig  Mon Mar 22 21:07:11 2010
+++ lib/openpty.c       Mon Mar 22 21:06:28 2010
@@ -21,7 +21,7 @@
 
 #if HAVE_OPENPTY
 
-/* Provider a wrapper with the precise POSIX prototype.  */
+/* Provide a wrapper with the prototype of glibc-2.8 and newer.  */
 # undef openpty
 int
 rpl_openpty (int *amaster, int *aslave, char *name,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]