]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
archive_entry_set_XXX is an alias for archive_entry_copy_XXX.
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Mon, 22 Feb 2010 14:08:05 +0000 (09:08 -0500)
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Mon, 22 Feb 2010 14:08:05 +0000 (09:08 -0500)
SVN-Revision: 1961

libarchive/archive_entry_paths.3
libarchive/archive_entry_perms.3

index 50114cabab6e23524a9b9a777dc728c1046d569e..05243c0700e89c4413bffae21de97e5ad01dea5e 100644 (file)
@@ -143,19 +143,9 @@ The link path is a convience function for conditionally setting
 hardlink or symlink destination.
 It doesn't have a corresponding get accessor function.
 .Pp
-The
 .Fn archive_entry_set_XXX
-functions store a reference to the given string internally.
-They require the caller to keep the string valid until the string
-is cleared either by setting it to a different location, by calling
-the corresponding copy function or by calling
-.Xr archive_entry_clear 3
-or
-.Xr archive_entry_free 3 .
-The
-.Fn archive_entry_copy_XXX
-functions do not have this restriction as they keep an internal
-copy of the argument.
+is an alias for 
+.Fn archive_entry_copy_XXX .
 .Sh SEE ALSO
 .Xr archive 3 ,
 .Xr archive_entry 3
index d0b72406659ca6d83e92b3870418f1a444c6f9e9..452a19f3bd058f81a718e4982a64254795f8aa72 100644 (file)
@@ -145,20 +145,9 @@ This are convience functions to update both the multibyte and wide
 character strings at the same time.
 .El
 .Pp
-.Pp
-The
 .Fn archive_entry_set_XXX
-functions store a reference to the given string internally.
-They require the caller to keep the string valid until the string
-is cleared either by setting it to a different location, by calling
-the corresponding copy function or by calling
-.Xr archive_entry_clear 3
-or
-.Xr archive_entry_free 3 .
-The
-.Fn archive_entry_copy_XXX
-functions do not have this restriction as they keep an internal
-copy of the argument.
+is an alias for 
+.Fn archive_entry_copy_XXX .
 .Ss File Flags
 File flags are transparently converted between a bitmap
 representation and a textual format.