Eric Blake wrote: > POSIX does not specify openpty, so this comment is misleading.
Oops, you're right. Fixed: 2010-03-21 Bruno Haible <br...@clisp.org> 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,