[lib/ChangeLog]
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Sep 2006 00:37:48 +0000 (00:37 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Sep 2006 00:37:48 +0000 (00:37 +0000)
commit75ff6c9d9a4d428c44dbbd8778f0e8080a0d3bdc
tree66f331d0d23e5994afc8f2fc305db5afa7dc4bc7
parent9347e00e6c9092517edc8e3aa101a6b76a92a99c
[lib/ChangeLog]
Work around bug in Solaris 10 /proc file system:
/proc/self/fd/NNN/.. isn't the parent directory of
the directory whose file descriptor is NNN.  This needs to
be worked around at run time, not compile time, since a
program might be built on Solaris 8, where things work, and
run on Solaris 10.
* openat-priv.h (BUILD_PROC_NAME): Remove.  All callers changed
to use the following interface instead:
(OPENAT_BUFFER_SIZE): New macro.
(openat_proc_name): New function.
* at-func.c (AT_FUNC_NAME): Adjust to above changes.
* openat.c (openat_permissive, openat_needs_fchdir, fdopendir):
Likewise.
* openat-proc.c: New file.
[ChangeLog]
* modules/openat (Files): Add lib/openat-proc.c.
(Depends-on): Add same-inode, stdbool.
[m4/ChangeLog]
* openat.m4 (gl_FUNC_OPENAT): Add AC_LIBOBJ(openat-proc).
ChangeLog
lib/ChangeLog
lib/at-func.c
lib/openat-priv.h
lib/openat-proc.c [new file with mode: 0644]
lib/openat.c
m4/ChangeLog
m4/openat.m4
modules/openat