openpty, posix_openpt: Remove code duplication.
[gnulib.git] / ChangeLog
index c670c9c..f44038b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-10-20  Bruno Haible  <bruno@clisp.org>
 
+       openpty, posix_openpt: Remove code duplication.
+       * lib/posix_openpt.c: Add comments about platforms, from lib/openpty.c.
+       * lib/openpty.c: Include <stdlib.h>.
+       (openpty): Use posix_openpt on all platforms except IRIX.
+       * modules/openpty (Depends-on): Add posix_openpt. Add conditions.
+
+2011-10-20  Bruno Haible  <bruno@clisp.org>
+
        unlockpt: Detect invalid argument.
        * lib/unlockpt.c: Include <fcntl.h>.
        (unlockpt): Check whether fd is valid, using fcntl().