summaryrefslogtreecommitdiff
path: root/modules/forkpty
Commit message (Collapse)AuthorAgeFilesLines
* Fix dependencies of modules that use '_exit' on native Windows.Bruno Haible2020-11-261-0/+1
| | | | | | | | | | | | | Reported by Jim Meyering in <https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00159.html>. * modules/_Exit (Depends-on): Add unistd. * modules/closein (Depends-on): Likewise. * modules/closeout (Depends-on): Likewise. * modules/forkpty (Depends-on): Likewise. * modules/posix_spawn-internal (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. * modules/stat-time-tests (Depends-on): Likewise.
* forkpty: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-0/+3
| | | | | * m4/pty.m4 (gl_FUNC_FORKPTY): Move AC_LIBOBJ invocations from here... * modules/forkpty (configure.ac): ... to here.
* Rename gl_FORKPTY and gl_OPENPTY.Bruno Haible2010-03-271-1/+1
|
* forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.Bruno Haible2010-03-221-1/+4
|
* forkpty, openpty: prefer glibc's const-safe prototypeEric Blake2010-03-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | This silences a compiler warning for test-forkpty.c. * lib/forkpty.c (rpl_forkpty): New file. * lib/openpty.c (rpl_openpty): Likewise. * modules/forkpty (Files): Distribute it. * modules/openpty (Files): Likewise. * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses. Move decl check... * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): ...here. Request replacement for for non-const BSD signature. * modules/pty (Makefile.am): Substitute witnesses. * lib/pty.in.h (forkpty, openpty): Declare replacements. * tests/test-forkpty.c: Update signature check. * tests/test-openpty.c: Likewise. * doc/glibc-functions/forkpty.texi (forkpty): Document the fix. * doc/glibc-functions/openpty.texi (openpty): Likewise. Reported by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
* forkpty, openpty: split functions into new modulesEric Blake2010-03-191-0/+26
The pty module was doing too much - replacing the header and checking for functions. In the future, when we provide a working forkpty for Solaris and HP-UX, and a stub for mingw, then the separation will be even more useful. * modules/pty (Makefile.am): Substitute new witnesses. (Libraries): Move library detection... * modules/forkpty: ...into new module. * modules/openpty: Another new module. * modules/pty-tests: Rename and split... * modules/forkpty-tests: ...to this... * modules/openpty-tests: ...and this. * tests/test-pty.c: Rename and split... * tests/test-forkpty.c: ...to this... * tests/test-openpty.c: ...and this. * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses. (gl_PTY): Split library searching... * m4/pty.m4 (gl_PTY_LIB): ...into new file. (gl_FORKPTY, gl_OPENPTY): New macros. * lib/pty.in.h (forkpty, openpty): Honor new witnesses. * NEWS: Mention the split. * MODULES.html.sh (Misc): Document the modules. * doc/glibc-functions/forkpty.texi (forkpty): Likewise. * doc/glibc-functions/openpty.texi (openpty): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>