tar: document xgetcwd test case better

* src/misc.c (normalize_filename): Add commentary for clarity.
* tests/extrac09.at: Retitle test case and add comments for clarity.
This commit is contained in:
Nathan Stratton Treadway
2014-06-28 23:57:37 -07:00
committed by Paul Eggert
parent 576e99a21c
commit dc72f4d114
2 changed files with 15 additions and 4 deletions

View File

@@ -288,7 +288,8 @@ normalize_filename (int cdidx, const char *name)
this following approach may lead to situations where the same
file or directory is processed twice under different absolute
paths without that duplication being detected. Perhaps we
should use dev+ino pairs instead of names? */
should use dev+ino pairs instead of names? (See listed03.at for
a related test case.) */
const char *cdpath = tar_getcdpath (cdidx);
size_t copylen;
bool need_separator;