diff options
author | Jim Meyering <jim@meyering.net> | 2004-11-18 14:46:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-11-18 14:46:47 +0000 |
commit | e26c30aa38f3f6260a1b79263911b25fb8714fa4 (patch) | |
tree | e2766cadedd24acec969416a9ef17445773f574a /src | |
parent | 90988bac82ff0f7af4f3d3f9a62bb09d0aab28cf (diff) | |
download | coreutils-e26c30aa38f3f6260a1b79263911b25fb8714fa4.tar.xz |
(robust_getcwd): Correct the comment: this function constructs the
directory name. The caller prints it.
Diffstat (limited to 'src')
-rw-r--r-- | src/pwd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -244,7 +244,8 @@ find_dir_entry (struct stat *dot_sb, struct Path *path, size_t parent_height) *dot_sb = parent_sb; } -/* Print the full, absolute name of the current working directory. +/* Construct the full, absolute name of the current working + directory and store it in *PATH. The getcwd function does nearly the same task, but is typically unable to handle names longer than PATH_MAX. This function has no such limitation. However, this function *can* fail due to |