Deleted Added
full compact
tape.c (142968) tape.c (217769)
1/*-
2 * Copyright (c) 1980, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

27 * SUCH DAMAGE.
28 */
29
30#ifndef lint
31#if 0
32static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95";
33#endif
34static const char rcsid[] =
1/*-
2 * Copyright (c) 1980, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

27 * SUCH DAMAGE.
28 */
29
30#ifndef lint
31#if 0
32static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95";
33#endif
34static const char rcsid[] =
35 "$FreeBSD: head/sbin/dump/tape.c 142968 2005-03-02 02:30:08Z iedowse $";
35 "$FreeBSD: head/sbin/dump/tape.c 217769 2011-01-24 06:17:05Z mckusick $";
36#endif /* not lint */
37
38#include <sys/param.h>
39#include <sys/socket.h>
36#endif /* not lint */
37
38#include <sys/param.h>
39#include <sys/socket.h>
40#include <sys/time.h>
41#include <sys/wait.h>
42#include <sys/stat.h>
43
44#include <ufs/ufs/dinode.h>
45#include <ufs/ffs/fs.h>
46
47#include <protocols/dumprestore.h>
48
49#include <errno.h>
50#include <fcntl.h>
51#include <limits.h>
52#include <setjmp.h>
53#include <signal.h>
54#include <stdio.h>
55#include <stdlib.h>
56#include <string.h>
40#include <sys/wait.h>
41#include <sys/stat.h>
42
43#include <ufs/ufs/dinode.h>
44#include <ufs/ffs/fs.h>
45
46#include <protocols/dumprestore.h>
47
48#include <errno.h>
49#include <fcntl.h>
50#include <limits.h>
51#include <setjmp.h>
52#include <signal.h>
53#include <stdio.h>
54#include <stdlib.h>
55#include <string.h>
56#include <time.h>
57#include <unistd.h>
58
59#include "dump.h"
60
61int writesize; /* size of malloc()ed buffer for tape */
62int64_t lastspclrec = -1; /* tape block number of last written header */
63int trecno = 0; /* next record to write in current block */
64extern long blocksperfile; /* number of blocks per output file */

--- 816 unchanged lines hidden ---
57#include <unistd.h>
58
59#include "dump.h"
60
61int writesize; /* size of malloc()ed buffer for tape */
62int64_t lastspclrec = -1; /* tape block number of last written header */
63int trecno = 0; /* next record to write in current block */
64extern long blocksperfile; /* number of blocks per output file */

--- 816 unchanged lines hidden ---