]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add some TODO comments.
authorTim Kientzle <kientzle@gmail.com>
Mon, 5 Oct 2009 04:57:23 +0000 (00:57 -0400)
committerTim Kientzle <kientzle@gmail.com>
Mon, 5 Oct 2009 04:57:23 +0000 (00:57 -0400)
SVN-Revision: 1481

tar/util.c

index 2ae448e6113478140fad1617e0ea8ad183b53eea..a55692384bdbd11e31f7b09242347fa19a9d2efc 100644 (file)
@@ -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