components/libarchive/patches/libarchive-archive_entry_perms.3.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Thu, 22 Oct 2015 09:15:17 -0700
changeset 4997 714545171c17
parent 1316 22b5cf35a3ea
permissions -rw-r--r--
21834505 update libarchive to 3.1.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4997
714545171c17 21834505 update libarchive to 3.1.2
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1316
diff changeset
     1
This patch is needed to remove references to functions that don't exist on 
714545171c17 21834505 update libarchive to 3.1.2
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1316
diff changeset
     2
Solaris. It has not been fed back to the upstream community. It may need to be 
714545171c17 21834505 update libarchive to 3.1.2
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1316
diff changeset
     3
tweaked slightly for future releases.  
1316
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
--- libarchive/libarchive/archive_entry_perms.3.orig	Mon Mar 26 19:49:00 2012
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
+++ libarchive/libarchive/archive_entry_perms.3	Fri Nov  9 12:37:14 2012
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
@@ -170,9 +170,6 @@
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
 In unusual circumstances, you can force a fully-specified set
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
 of file flags by setting the bitmap of flags to clear to the complement
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
 of the bitmap of flags to set.
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
-(This differs from
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
-.Xr fflagstostr 3 ,
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
-which only includes names for set bits.)
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
 Converting a bitmap to a textual string is a platform-specific
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
 operation; bits that are not meaningful on the current platform
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
 will be ignored.
4997
714545171c17 21834505 update libarchive to 3.1.2
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1316
diff changeset
    17
@@ -190,7 +187,4 @@
1316
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
 Note that every name \(em including names that follow an unrecognized
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
 name \(em will be evaluated, and the bitmaps will be set to reflect
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
 every name that is recognized.
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
-(In particular, this differs from
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
-.Xr strtofflags 3 ,
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    23
-which stops parsing at the first unrecognized name.)
22b5cf35a3ea PSARC 2012/356 libarchive
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
 .Sh SEE ALSO