[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
detection of functional openat() for usage inside getcwd.c
From: |
Petr Salinger |
Subject: |
detection of functional openat() for usage inside getcwd.c |
Date: |
Fri, 14 Dec 2007 13:23:26 +0100 (CET) |
Hello,
getcwd.c uses *at() function family iff AT_FDCWD is defined.
This approach does not work on GNU/kFreeBSD - FreeBSD kernel + GNU libc.
The kernel does not provide needed interfaces, and therefore glibc
provides only stub version for function from *at() family.
But the AT_FDCWD is declared and getwdc.c uses only native i.e. openat().
Please, could you change detection whether really use *at() function
family in getcwd.
Many thanks
Petr
- detection of functional openat() for usage inside getcwd.c,
Petr Salinger <=