match pty.h to glibc

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sat Dec 26 05:32:00 GMT 2009


On Fri, Dec 25, 2009 at 10:13:53PM -0700, Eric Blake wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>As of glibc 2.8, pty.h now marks the last two arguments of openpty and
>forkpty as const.  These functions are not standardized, and we aren't
>altering the parameters, so I see no reason why we can't also make the
>change.  OK to apply?
>
>2009-12-26  Eric Blake  <ebb9@byu.net>
>
>	* include/pty.h (openpty, forkpty): Mark last two arguments const,
>	to match glibc 2.8.
>	* libc/bsdlib.cc (openpty, forkpty): Likewise.

Looks good.  Please check in.

Thanks.

cgf



More information about the Cygwin-patches mailing list