From: Tim Kientzle Date: Mon, 5 Oct 2009 04:57:23 +0000 (-0400) Subject: Add some TODO comments. X-Git-Tag: v2.8.0~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c27ff43c6503e2083e4b88953b9dac85b134dbc7;p=thirdparty%2Flibarchive.git Add some TODO comments. SVN-Revision: 1481 --- 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