Make pwd and readlink work also when run with an unreadable parent dir
authorJim Meyering <jim@meyering.net>
Sat, 3 Feb 2007 00:23:57 +0000 (00:23 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Feb 2007 00:23:57 +0000 (00:23 +0000)
commitc9417abb96d18e54689f7b8902807c8d796b50f5
tree485c1451602031d8e6d265b7ff83493060398502
parent8c3eae83a2639ca887e41a13055f890dd722e0c8
Make pwd and readlink work also when run with an unreadable parent dir
on systems with openat support.
* lib/getcwd.c (__getcwd) [HAVE_PARTLY_WORKING_GETCWD]: Use the system
provided getcwd function, even when we have openat support.
Reported by Dmitry V. Levin in <http://bugzilla.redhat.com/227168>.
ChangeLog
lib/getcwd.c