]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Clarify that archive_errno() cannot be reliably used to determine when
authorTim Kientzle <kientzle@gmail.com>
Wed, 24 Feb 2010 05:27:57 +0000 (00:27 -0500)
committerTim Kientzle <kientzle@gmail.com>
Wed, 24 Feb 2010 05:27:57 +0000 (00:27 -0500)
an error occurs.

SVN-Revision: 1969

libarchive/archive_util.3

index fb04c4fbdf53cb7fbe59929873bfb6c49f8e831f..f4cf2557e8582fbd86b205124a76208750b33b0c 100644 (file)
@@ -100,6 +100,10 @@ Copies error information from one archive to another.
 Returns a numeric error code (see
 .Xr errno 2 )
 indicating the reason for the most recent error return.
+Note that this can not be reliably used to detect whether an
+error has occurred.
+It should be used only after another libarchive function
+has returned an error status.
 .It Fn archive_error_string
 Returns a textual error message suitable for display.
 The error message here is usually more specific than that