Deleted Added
full compact
tape.c (65786) tape.c (66907)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

36 * SUCH DAMAGE.
37 */
38
39#ifndef lint
40#if 0
41static char sccsid[] = "@(#)tape.c 8.9 (Berkeley) 5/1/95";
42#endif
43static const char rcsid[] =
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

36 * SUCH DAMAGE.
37 */
38
39#ifndef lint
40#if 0
41static char sccsid[] = "@(#)tape.c 8.9 (Berkeley) 5/1/95";
42#endif
43static const char rcsid[] =
44 "$FreeBSD: head/sbin/restore/tape.c 65786 2000-09-12 21:42:58Z mjacob $";
44 "$FreeBSD: head/sbin/restore/tape.c 66907 2000-10-10 01:50:26Z wollman $";
45#endif /* not lint */
46
47#include <sys/param.h>
48#include <sys/file.h>
49#include <sys/mtio.h>
50#include <sys/stat.h>
45#endif /* not lint */
46
47#include <sys/param.h>
48#include <sys/file.h>
49#include <sys/mtio.h>
50#include <sys/stat.h>
51#include <sys/time.h>
51
52#include <ufs/ufs/dinode.h>
53#include <protocols/dumprestore.h>
54
55#include <errno.h>
56#include <setjmp.h>
57#include <stdio.h>
58#include <stdlib.h>
59#include <string.h>
52
53#include <ufs/ufs/dinode.h>
54#include <protocols/dumprestore.h>
55
56#include <errno.h>
57#include <setjmp.h>
58#include <stdio.h>
59#include <stdlib.h>
60#include <string.h>
61#include <time.h>
60#include <unistd.h>
61
62#include "restore.h"
63#include "extern.h"
64#include "pathnames.h"
65
66static long fssize = MAXBSIZE;
67static int mt = -1;

--- 1336 unchanged lines hidden ---
62#include <unistd.h>
63
64#include "restore.h"
65#include "extern.h"
66#include "pathnames.h"
67
68static long fssize = MAXBSIZE;
69static int mt = -1;

--- 1336 unchanged lines hidden ---