From c27ff43c6503e2083e4b88953b9dac85b134dbc7 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 5 Oct 2009 00:57:23 -0400 Subject: [PATCH] Add some TODO comments. SVN-Revision: 1481 --- tar/util.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tar/util.c b/tar/util.c index 2ae448e61..a55692384 100644 --- a/tar/util.c +++ b/tar/util.c @@ -255,6 +255,8 @@ yes(const char *fmt, ...) * This way, programs that build tar command lines don't have to worry * about -C with non-existent directories; such requests will only * fail if the directory must be accessed. + * + * TODO: Make this handle Windows paths correctly. */ void set_chdir(struct bsdtar *bsdtar, const char *newdir) @@ -495,6 +497,9 @@ edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) * TODO: Publish the path normalization routines in libarchive so * that bsdtar can normalize paths and use fast strcmp() instead * of this. + * + * Note: This is currently only used within write.c, so should + * not handle \ path separators. */ int -- 2.47.3