]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Update comment.
authorTim Kientzle <kientzle@gmail.com>
Sun, 11 Sep 2011 16:13:34 +0000 (12:13 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 11 Sep 2011 16:13:34 +0000 (12:13 -0400)
SVN-Revision: 3698

libarchive/archive_entry.h

index 756a778cbc01668e34183881eb24026aa82d5492..bbaf978a41b0041053f76ab02cb14eb571d835c5 100644 (file)
@@ -245,12 +245,10 @@ __LA_DECL const wchar_t   *archive_entry_uname_w(struct archive_entry *);
 /*
  * Set fields in an archive_entry.
  *
- * Note that string 'set' functions do not copy the string, only the pointer.
- * In contrast, 'copy' functions do copy the object pointed to.
- *
- * Note: As of libarchive 2.4, 'set' functions do copy the string and
- * are therefore exact synonyms for the 'copy' versions.  The 'copy'
- * names will be retired in libarchive 3.0.
+ * Note: Before libarchive 2.4, there were 'set' and 'copy' versions
+ * of the string setters.  'copy' copied the actual string, 'set' just
+ * stored the pointer.  In libarchive 2.4 and later, strings are
+ * always copied.
  */
 
 __LA_DECL void archive_entry_set_atime(struct archive_entry *, time_t, long);