This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: match pty.h to glibc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]