tar.c (7c478bd95313f5f23a4c958a745db2134aa03244) | tar.c (b7d62af5b42f0da2eb668e8d33d24d2f4fdd98a8) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 6 unchanged lines hidden (view full) --- 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 6 unchanged lines hidden (view full) --- 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* |
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. | 23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. 25 */ 26 27/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ 28/* All Rights Reserved */ 29 30/* Copyright (c) 1987, 1988 Microsoft Corporation */ 31/* All Rights Reserved */ --- 116 unchanged lines hidden (view full) --- 148 */ 149 150#ifdef XHDR_DEBUG 151/* tiny values which force the creation of extended header entries */ 152#define TAR_OFFSET_MAX 9 153#define OCTAL7CHAR 2 154#else 155/* normal values */ | 24 * Use is subject to license terms. 25 */ 26 27/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ 28/* All Rights Reserved */ 29 30/* Copyright (c) 1987, 1988 Microsoft Corporation */ 31/* All Rights Reserved */ --- 116 unchanged lines hidden (view full) --- 148 */ 149 150#ifdef XHDR_DEBUG 151/* tiny values which force the creation of extended header entries */ 152#define TAR_OFFSET_MAX 9 153#define OCTAL7CHAR 2 154#else 155/* normal values */ |
156#define TAR_OFFSET_MAX 077777777777 | 156#define TAR_OFFSET_MAX 077777777777ULL |
157#define OCTAL7CHAR 07777777 158#endif 159 160#define TBLOCKS(bytes) (((bytes) + TBLOCK - 1) / TBLOCK) 161#define K(tblocks) ((tblocks+1)/2) /* tblocks to Kbytes for printing */ 162 163#define MAXLEV (PATH_MAX / 2) 164#define LEV0 1 --- 6950 unchanged lines hidden --- | 157#define OCTAL7CHAR 07777777 158#endif 159 160#define TBLOCKS(bytes) (((bytes) + TBLOCK - 1) / TBLOCK) 161#define K(tblocks) ((tblocks+1)/2) /* tblocks to Kbytes for printing */ 162 163#define MAXLEV (PATH_MAX / 2) 164#define LEV0 1 --- 6950 unchanged lines hidden --- |