match pty.h to glibc

Eric Blake ebb9@byu.net
Sat Dec 26 05:13:00 GMT 2009


-----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.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAks1m5AACgkQ84KuGfSFAYCTCQCgjmQaM56Acwh0eX9g6+yabGny
jB4An0ziKLGgy+svOXGZT27+sq1dfATn
=l343
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch35
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20091226/0e9a9a19/attachment.ksh>


More information about the Cygwin-patches mailing list