From 7fb90fb89bbdf273ab7ab96517fe1b156cd7aee1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 May 2011 08:37:19 -0400 Subject: Fix Linux getcwd for long paths The getcwd syscall (so far?) can only handle path up to one page in size. There is no limit about directory hierarchy depth, though, and the POSIX getcwd is supposed to handle this. In that case fall back to the generic getcwd. Additionally, optimize the generic getcwd to use openat when possible to change the asymptotic performance from O(N^2) to O(n). --- NEWS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 8ce7e3b..933fa8f 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU C Library NEWS -- history of user-visible changes. 2011-5-7 +GNU C Library NEWS -- history of user-visible changes. 2011-5-8 Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc. See the end for copying conditions. @@ -23,8 +23,8 @@ Version 2.14 * The following bugs are resolved with this release: 11724, 12393, 12420, 12445, 12454, 12460, 12469, 12489, 12509, 12510, - 12518, 12583, 12587, 12597, 12631, 12650, 12653, 12655, 12685, 12714, - 12717, 12723, 12734 + 12518, 12583, 12587, 12597, 12631, 12650, 12653, 12655, 12685, 12713, + 12714, 12717, 12723, 12734 Version 2.13 -- cgit v1.1