Deleted Added
full compact
tcopy.c (50477) tcopy.c (73986)
1/*
2 * Copyright (c) 1985, 1987, 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

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)tcopy.c 8.2 (Berkeley) 4/17/94";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1985, 1987, 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

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)tcopy.c 8.2 (Berkeley) 4/17/94";
43#endif
44static const char rcsid[] =
45 "$FreeBSD: head/usr.bin/tcopy/tcopy.c 50477 1999-08-28 01:08:13Z peter $";
45 "$FreeBSD: head/usr.bin/tcopy/tcopy.c 73986 2001-03-08 09:04:40Z obrien $";
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <sys/stat.h>
50#include <sys/ioctl.h>
51#include <sys/mtio.h>
52
53#include <err.h>
54#include <errno.h>
55#include <fcntl.h>
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <sys/stat.h>
50#include <sys/ioctl.h>
51#include <sys/mtio.h>
52
53#include <err.h>
54#include <errno.h>
55#include <fcntl.h>
56#include <paths.h>
56#include <signal.h>
57#include <stdio.h>
58#include <stdlib.h>
59#include <string.h>
60#include <unistd.h>
61
57#include <signal.h>
58#include <stdio.h>
59#include <stdlib.h>
60#include <string.h>
61#include <unistd.h>
62
62#include "pathnames.h"
63
64#define MAXREC (64 * 1024)
65#define NOCOUNT (-2)
66
67int filen, guesslen, maxblk = MAXREC;
68u_int64_t lastrec, record, size, tsize;
69FILE *msg = stdout;
70
71void *getspace __P((int));

--- 272 unchanged lines hidden ---
63#define MAXREC (64 * 1024)
64#define NOCOUNT (-2)
65
66int filen, guesslen, maxblk = MAXREC;
67u_int64_t lastrec, record, size, tsize;
68FILE *msg = stdout;
69
70void *getspace __P((int));

--- 272 unchanged lines hidden ---