projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90988ba
)
(robust_getcwd): Correct the comment: this function constructs the
author
Jim Meyering
<jim@meyering.net>
Thu, 18 Nov 2004 14:46:47 +0000
(14:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 18 Nov 2004 14:46:47 +0000
(14:46 +0000)
directory name. The caller prints it.
src/pwd.c
patch
|
blob
|
history
diff --git
a/src/pwd.c
b/src/pwd.c
index 06bbbb2701f6d89ad05b63a0fec8f55c15ec7488..193cf4a0c85f3d1db7afeab2dda9a014dbd06f38 100644
(file)
--- a/
src/pwd.c
+++ b/
src/pwd.c
@@
-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