Re: detection of functional openat() for usage inside getcwd.c

2007-12-17 Thread Jim Meyering
Petr Salinger <[EMAIL PROTECTED]> wrote: >>> 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

Re: detection of functional openat() for usage inside getcwd.c

2007-12-15 Thread Petr Salinger
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 getcw

Re: detection of functional openat() for usage inside getcwd.c

2007-12-15 Thread Jim Meyering
Petr Salinger <[EMAIL PROTECTED]> wrote: > 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(

detection of functional openat() for usage inside getcwd.c

2007-12-14 Thread Petr Salinger
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 a