diff options
author | Jim Meyering <jim@meyering.net> | 2004-04-19 15:12:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-04-19 15:12:31 +0000 |
commit | af719b0318b8a3b6c0f736940016bb4c63a3504b (patch) | |
tree | 10fb24c144292259a5d90c262eb14bdd3ff4eed3 /lib/fts.c | |
parent | e17c7db93bdc0d9c347c41f9f08c3e0e9a717803 (diff) | |
download | coreutils-af719b0318b8a3b6c0f736940016bb4c63a3504b.tar.xz |
Make pwd work even if the resulting name is so long that getcwd fails.
(path_free, path_init, path_prepend): New functions.
(nth_parent, find_dir_entry, robust_getcwd): New functions.
(main): First try getcwd, then, upon failure, robust_getcwd.
Diffstat (limited to 'lib/fts.c')
0 files changed, 0 insertions, 0 deletions