This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: match pty.h to glibc
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 26 Dec 2009 00:32:06 -0500
- Subject: Re: match pty.h to glibc
- References: <4B359B91.1090109@byu.net>
- Reply-to: cygwin-patches at cygwin dot com
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