Deleted Added
full compact
pax.h (76019) pax.h (76351)
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)pax.h 8.2 (Berkeley) 4/18/94
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)pax.h 8.2 (Berkeley) 4/18/94
38 * $FreeBSD: head/bin/pax/pax.h 76019 2001-04-26 09:22:28Z kris $
38 * $FreeBSD: head/bin/pax/pax.h 76351 2001-05-08 06:19:06Z kris $
39 */
40
41/*
42 * BSD PAX global data structures and constants.
43 */
44
39 */
40
41/*
42 * BSD PAX global data structures and constants.
43 */
44
45#define MAXBLK 32256 /* MAX blocksize supported (posix SPEC) */
45#define MAXBLK 64512 /* MAX blocksize supported (posix SPEC) */
46 /* WARNING: increasing MAXBLK past 32256 */
47 /* will violate posix spec. */
46 /* WARNING: increasing MAXBLK past 32256 */
47 /* will violate posix spec. */
48#define MAXBLK_POSIX 32256 /* MAX blocksize supported as per POSIX */
48#define BLKMULT 512 /* blocksize must be even mult of 512 bytes */
49 /* Don't even think of changing this */
50#define DEVBLK 8192 /* default read blksize for devices */
51#define FILEBLK 10240 /* default read blksize for files */
52#define PAXPATHLEN 3072 /* maximum path length for pax. MUST be */
53 /* longer than the system MAXPATHLEN */
54
55/*

--- 103 unchanged lines hidden (view full) ---

159/*
160 * Pattern matching structure
161 *
162 * Used to store command line patterns
163 */
164typedef struct pattern {
165 char *pstr; /* pattern to match, user supplied */
166 char *pend; /* end of a prefix match */
49#define BLKMULT 512 /* blocksize must be even mult of 512 bytes */
50 /* Don't even think of changing this */
51#define DEVBLK 8192 /* default read blksize for devices */
52#define FILEBLK 10240 /* default read blksize for files */
53#define PAXPATHLEN 3072 /* maximum path length for pax. MUST be */
54 /* longer than the system MAXPATHLEN */
55
56/*

--- 103 unchanged lines hidden (view full) ---

160/*
161 * Pattern matching structure
162 *
163 * Used to store command line patterns
164 */
165typedef struct pattern {
166 char *pstr; /* pattern to match, user supplied */
167 char *pend; /* end of a prefix match */
168 char *chdname; /* the dir to change to if not NULL. */
167 int plen; /* length of pstr */
168 int flgs; /* processing/state flags */
169#define MTCH 0x1 /* pattern has been matched */
170#define DIR_MTCH 0x2 /* pattern matched a directory */
171 struct pattern *fow; /* next pattern */
172} PATTERN;
173
174/*

--- 66 unchanged lines hidden ---
169 int plen; /* length of pstr */
170 int flgs; /* processing/state flags */
171#define MTCH 0x1 /* pattern has been matched */
172#define DIR_MTCH 0x2 /* pattern matched a directory */
173 struct pattern *fow; /* next pattern */
174} PATTERN;
175
176/*

--- 66 unchanged lines hidden ---