summaryrefslogtreecommitdiffstats
path: root/bin/pax
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pax')
-rw-r--r--bin/pax/ar_io.c4
-rw-r--r--bin/pax/ar_subs.c4
-rw-r--r--bin/pax/buf_subs.c4
-rw-r--r--bin/pax/cache.c8
-rw-r--r--bin/pax/cpio.c4
-rw-r--r--bin/pax/file_subs.c4
-rw-r--r--bin/pax/ftree.c4
-rw-r--r--bin/pax/gen_subs.c7
-rw-r--r--bin/pax/options.c4
-rw-r--r--bin/pax/pat_rep.c4
-rw-r--r--bin/pax/pax.c6
-rw-r--r--bin/pax/sel_subs.c4
-rw-r--r--bin/pax/tables.c4
-rw-r--r--bin/pax/tar.c4
-rw-r--r--bin/pax/tty_subs.c4
15 files changed, 35 insertions, 34 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c
index 827a02d..bb0d590 100644
--- a/bin/pax/ar_io.c
+++ b/bin/pax/ar_io.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ar_io.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
+ * $Id: ar_io.c,v 1.4 1995/10/23 21:22:56 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
index 7777afb..6a748da 100644
--- a/bin/pax/ar_subs.c
+++ b/bin/pax/ar_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ar_subs.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
+ * $Id: ar_subs.c,v 1.4 1995/10/23 21:22:58 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c
index fa6f925..3d1a5bb 100644
--- a/bin/pax/buf_subs.c
+++ b/bin/pax/buf_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: buf_subs.c,v 1.3 1995/05/30 00:06:53 rgrimes Exp $
+ * $Id: buf_subs.c,v 1.4 1995/10/23 21:23:00 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/cache.c b/bin/pax/cache.c
index 6ffe469..ba416ca 100644
--- a/bin/pax/cache.c
+++ b/bin/pax/cache.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cache.c,v 1.2 1994/09/24 02:56:14 davidg Exp $
+ * $Id: cache.c,v 1.3 1995/10/23 21:23:02 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
@@ -244,7 +244,7 @@ name_uid(uid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", uid);
# else
- (void)sprintf(ptr->name, "%lu", uid);
+ (void)sprintf(ptr->name, "%lu", (u_long)uid);
# endif
if (frc == 0)
return("");
@@ -321,7 +321,7 @@ name_gid(gid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", gid);
# else
- (void)sprintf(ptr->name, "%lu", gid);
+ (void)sprintf(ptr->name, "%lu", (u_long)gid);
# endif
if (frc == 0)
return("");
diff --git a/bin/pax/cpio.c b/bin/pax/cpio.c
index e3fd4f1..4d7a051 100644
--- a/bin/pax/cpio.c
+++ b/bin/pax/cpio.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpio.c,v 1.3 1995/05/30 00:06:54 rgrimes Exp $
+ * $Id: cpio.c,v 1.4 1995/10/23 21:23:04 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/file_subs.c b/bin/pax/file_subs.c
index 107a100..b642cae 100644
--- a/bin/pax/file_subs.c
+++ b/bin/pax/file_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: file_subs.c,v 1.3 1995/05/30 00:06:56 rgrimes Exp $
+ * $Id: file_subs.c,v 1.4 1995/10/23 21:23:06 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/ftree.c b/bin/pax/ftree.c
index 375e620..f336a76 100644
--- a/bin/pax/ftree.c
+++ b/bin/pax/ftree.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ftree.c,v 1.3 1995/05/30 00:06:57 rgrimes Exp $
+ * $Id: ftree.c,v 1.4 1995/10/23 21:23:10 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index 4c3efdf..c5bdd6c 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: gen_subs.c,v 1.5 1995/08/07 19:17:36 wollman Exp $
+ * $Id: gen_subs.c,v 1.6 1995/10/23 21:23:14 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
@@ -132,10 +132,11 @@ ls_list(arcn, now)
if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK))
# ifdef NET2_STAT
(void)printf("%4u,%4u ", MAJOR(sbp->st_rdev),
+ MINOR(sbp->st_rdev));
# else
(void)printf("%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev),
+ (unsigned long)MINOR(sbp->st_rdev));
# endif
- MINOR(sbp->st_rdev));
else {
# ifdef NET2_STAT
(void)printf("%9lu ", sbp->st_size);
diff --git a/bin/pax/options.c b/bin/pax/options.c
index 53a9ad6..244cefa 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: options.c,v 1.3 1995/03/19 13:28:53 joerg Exp $
+ * $Id: options.c,v 1.4 1995/10/23 21:23:16 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c
index 451a9df..8a0eeb5 100644
--- a/bin/pax/pat_rep.c
+++ b/bin/pax/pat_rep.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pat_rep.c,v 1.4 1995/05/30 00:06:59 rgrimes Exp $
+ * $Id: pat_rep.c,v 1.5 1995/10/23 21:23:17 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 590072c..b98ed9a 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -34,17 +34,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pax.c,v 1.4 1995/10/23 21:23:19 ache Exp $
+ * $Id: pax.c,v 1.5 1996/08/11 16:59:27 ache Exp $
*/
#ifndef lint
-static char copyright[] =
+static char const copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <stdio.h>
diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
index e759bdb..ac7400d 100644
--- a/bin/pax/sel_subs.c
+++ b/bin/pax/sel_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sel_subs.c,v 1.2 1994/09/24 02:56:29 davidg Exp $
+ * $Id: sel_subs.c,v 1.3 1995/10/23 21:23:21 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/tables.c b/bin/pax/tables.c
index b069417..d076da8 100644
--- a/bin/pax/tables.c
+++ b/bin/pax/tables.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: tables.c,v 1.3 1995/05/30 00:07:01 rgrimes Exp $
+ * $Id: tables.c,v 1.4 1995/10/23 21:23:23 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/tar.c b/bin/pax/tar.c
index a88f658..fff2af6 100644
--- a/bin/pax/tar.c
+++ b/bin/pax/tar.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: tar.c,v 1.3 1995/05/30 00:07:03 rgrimes Exp $
+ * $Id: tar.c,v 1.4 1995/10/23 21:23:25 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/pax/tty_subs.c b/bin/pax/tty_subs.c
index 0c47fac..8aceb7f 100644
--- a/bin/pax/tty_subs.c
+++ b/bin/pax/tty_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: tty_subs.c,v 1.2 1994/09/24 02:56:38 davidg Exp $
+ * $Id: tty_subs.c,v 1.3 1995/10/23 21:23:27 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
+static char const sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
OpenPOWER on IntegriCloud