]> Savannah Git Hosting - gnulib.git/commit
openat_proc_name: port to OS/2 kLIBC
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Jan 2015 09:54:05 +0000 (18:54 +0900)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jan 2016 18:09:00 +0000 (10:09 -0800)
commitde11c4a45ae70ad15a74ce44d02cb632fb1549f6
tree2e95e9e8cb2ab5e84f30abbab692edb476349d6b
parent1aa6d2145efb497f87afb59bd5f6afc1e69b9bcf
openat_proc_name: port to OS/2 kLIBC

OS/2 kLIBC provides a function to retrive a path from a fd. Use it
instead of /proc/self/fd.
* lib/openat-proc.c (openat_proc_name):
Don't assume file name length is less than INT_MAX.
Port to OS/2 kLIBC with __libc_Back_ioFHToPath().
ChangeLog
lib/openat-proc.c