2651
|
1 |
This patch is needed to convert BSD-style section numbers to Solaris-style
|
|
2 |
section numbers. It has not been fed back to the upstream community. It
|
|
3 |
may need to be tweaked slightly for future releases.
|
|
4 |
|
|
5 |
--- libarchive/libarchive/archive_read_disk.3.orig Mon Mar 26 19:49:00 2012
|
|
6 |
+++ libarchive/libarchive/archive_read_disk.3 Fri Nov 9 12:35:02 2012
|
|
7 |
@@ -25,7 +25,7 @@
|
|
8 |
.\" $FreeBSD$
|
|
9 |
.\"
|
|
10 |
.Dd February 2, 2012
|
|
11 |
-.Dt ARCHIVE_READ_DISK 3
|
|
12 |
+.Dt ARCHIVE_READ_DISK 3ARCHIVE
|
|
13 |
.Os
|
|
14 |
.Sh NAME
|
|
15 |
.Nm archive_read_disk_new ,
|
|
16 |
@@ -138,16 +138,16 @@
|
|
17 |
This convenience function installs a standard set of user
|
|
18 |
and group name lookup functions.
|
|
19 |
These functions use
|
|
20 |
-.Xr getpwuid 3
|
|
21 |
+.Xr getpwuid 3C
|
|
22 |
and
|
|
23 |
-.Xr getgrgid 3
|
|
24 |
+.Xr getgrgid 3C
|
|
25 |
to convert ids to names, defaulting to NULL if the names cannot
|
|
26 |
be looked up.
|
|
27 |
These functions also implement a simple memory cache to reduce
|
|
28 |
the number of calls to
|
|
29 |
-.Xr getpwuid 3
|
|
30 |
+.Xr getpwuid 3C
|
|
31 |
and
|
|
32 |
-.Xr getgrgid 3 .
|
|
33 |
+.Xr getgrgid 3C .
|
|
34 |
.It Fn archive_read_disk_entry_from_file
|
|
35 |
Populates a
|
|
36 |
.Tn struct archive_entry
|
|
37 |
@@ -155,7 +155,7 @@
|
|
38 |
The
|
|
39 |
.Tn archive_entry
|
|
40 |
object must have already been created with
|
|
41 |
-.Xr archive_entry_new 3
|
|
42 |
+.Xr archive_entry_new 3ARCHIVE
|
|
43 |
and at least one of the source path or path fields must already be set.
|
|
44 |
(If both are set, the source path will be used.)
|
|
45 |
.Pp
|
|
46 |
@@ -196,7 +196,7 @@
|
|
47 |
More information about the
|
|
48 |
.Va struct archive
|
|
49 |
object and the overall design of the library can be found in the
|
|
50 |
-.Xr libarchive 3
|
|
51 |
+.Xr libarchive 3LIB
|
|
52 |
overview.
|
|
53 |
.Sh EXAMPLE
|
|
54 |
The following illustrates basic usage of the library by
|
|
55 |
@@ -263,12 +263,12 @@
|
|
56 |
functions.
|
|
57 |
.\"
|
|
58 |
.Sh SEE ALSO
|
|
59 |
-.Xr archive_read 3 ,
|
|
60 |
-.Xr archive_util 3 ,
|
|
61 |
-.Xr archive_write 3 ,
|
|
62 |
-.Xr archive_write_disk 3 ,
|
|
63 |
+.Xr archive_read 3ARCHIVE ,
|
|
64 |
+.Xr archive_util 3ARCHIVE ,
|
|
65 |
+.Xr archive_write 3ARCHIVE ,
|
|
66 |
+.Xr archive_write_disk 3ARCHIVE ,
|
|
67 |
.Xr tar 1 ,
|
|
68 |
-.Xr libarchive 3
|
|
69 |
+.Xr libarchive 3LIB
|
|
70 |
.Sh HISTORY
|
|
71 |
The
|
|
72 |
.Nm libarchive
|
|
73 |
@@ -290,9 +290,9 @@
|
|
74 |
The
|
|
75 |
.Dq standard
|
|
76 |
user name and group name lookup functions are not the defaults because
|
|
77 |
-.Xr getgrgid 3
|
|
78 |
+.Xr getgrgid 3C
|
|
79 |
and
|
|
80 |
-.Xr getpwuid 3
|
|
81 |
+.Xr getpwuid 3C
|
|
82 |
are sometimes too large for particular applications.
|
|
83 |
The current design allows the application author to use a more
|
|
84 |
compact implementation when appropriate.
|
|
85 |
@@ -310,7 +310,7 @@
|
|
86 |
.Pp
|
|
87 |
This API should provide a set of methods for walking a directory tree.
|
|
88 |
That would make it a direct parallel of the
|
|
89 |
-.Xr archive_read 3
|
|
90 |
+.Xr archive_read 3ARCHIVE
|
|
91 |
API.
|
|
92 |
When such methods are implemented, the
|
|
93 |
.Dq hybrid
|