diff options
author | Eric Blake <eblake@redhat.com> | 2011-11-07 15:26:08 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-11-09 15:53:07 -0700 |
commit | 78232883c8c01a22307bb38793928f2b9a5a6159 (patch) | |
tree | eb53e0effab97294bfc73767a34cc5270f5b99c0 /MODULES.html.sh | |
parent | c025e2c9516ad949e0b8c97aacc2dd811909d877 (diff) | |
download | gnulib-78232883c8c01a22307bb38793928f2b9a5a6159.tar.gz |
ptsname_r: new module
For now, this replacement focuses solely on compilation
compatibility, and assumes that isatty() and ttyname_r() work
on a master side pty; if this assumption fails, or if
thread-safety is also required, then a later patch can follow
the lead of strerror_r.c in wrapping the system ptsname()
with a lock.
* modules/ptsname_r: New module.
* m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): New file.
* lib/ptsname.c (__ptsname_r): Split...
* lib/ptsname_r.c: ...into new file.
* m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl.
(gl_STDLIB_H_DEFAULTS): Set witness defaults.
* modules/stdlib (Makefile.am): Substitute witnesses.
* lib/stdlib.in.h (ptsname_r): Declare it.
* doc/glibc-functions/ptsname_r.texi (ptsname_r): Document it.
* MODULES.html.sh (Misc): Likewise.
* modules/ptsname (Depends-on): Alter dependency.
* doc/posix-functions/ptsname.texi (ptsname): Mention new module.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'MODULES.html.sh')
-rwxr-xr-x | MODULES.html.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MODULES.html.sh b/MODULES.html.sh index 34ca5cc3d7..bc8a1a6a68 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -3447,6 +3447,7 @@ func_all_modules () func_module physmem func_module posixver func_module progname + func_module ptsname_r func_module pty func_module quotearg func_module quote |