diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-04 09:42:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-04 09:42:53 +0000 |
commit | b09da5c9d0bcff53bd6fd3fca3561ca5c94d38d4 (patch) | |
tree | e70728e8d4d164d2371059fc89d384315246ced9 /src | |
parent | 24326116462fe71c9c1a73ca7cb6558924e369a5 (diff) | |
download | coreutils-b09da5c9d0bcff53bd6fd3fca3561ca5c94d38d4.tar.xz |
(remove_cwd_entries): Fix typos in comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c index 377f96395..6269c5097 100644 --- a/src/remove.c +++ b/src/remove.c @@ -805,11 +805,11 @@ remove_entry (DS const *ds, char const *filename, struct rm_options const *x, /* Remove entries in `.', the current working directory (cwd). Upon finding a directory that is both non-empty and that can be chdir'd - into, return zero and set *SUBDIR and fill in SUBDIR_SB, where + into, return RM_OK and set *SUBDIR and fill in SUBDIR_SB, where SUBDIR is the malloc'd name of the subdirectory if the chdir succeeded, NULL otherwise (e.g., if opendir failed or if there was no subdirectory). Likewise, SUBDIR_SB is the result of calling lstat on SUBDIR. - Return RM_OK if all entries are removed. Remove RM_ERROR if any + Return RM_OK if all entries are removed. Return RM_ERROR if any entry cannot be removed. Otherwise, return RM_USER_DECLINED if the user declines to remove at least one entry. Remove as much as possible, continuing even if we fail to remove some entries. */ |