diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-02 05:17:24 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-02 05:17:24 +0000 |
commit | 97603a5d2adc889186f2934624a95c92dbfa2fdd (patch) | |
tree | bd6c100158b2e78129acad867c008a89ea00418d /src/remove.c | |
parent | 6a3bde8957f130a2fcc9b2cad5699e7dcf8c7e13 (diff) | |
download | coreutils-97603a5d2adc889186f2934624a95c92dbfa2fdd.tar.xz |
Don't use "path" or "filename".
Diffstat (limited to 'src/remove.c')
-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 298e43752..7c5578704 100644 --- a/src/remove.c +++ b/src/remove.c @@ -231,7 +231,7 @@ pop_dir (Dirstack_state *ds) top_len = length[n_lengths - 1]; assert (top_len >= 2); - /* Pop off the specified length of pathname. */ + /* Pop the specified length of file name. */ assert (obstack_object_size (&ds->dir_stack) >= top_len); obstack_blank (&ds->dir_stack, -top_len); @@ -271,7 +271,7 @@ right_justify (char *dst, size_t dst_len, const char *src, size_t src_len, return dst_len - src_len; } -/* Using the global directory name obstack, create the full path to FILENAME. +/* Using the global directory name obstack, create the full name FILENAME. Return it in sometimes-realloc'd space that should not be freed by the caller. Realloc as necessary. If realloc fails, use a static buffer and put as long a suffix in that buffer as possible. */ |