Deleted Added
full compact
tcopy.c (46203) tcopy.c (48566)
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 "$Id: tcopy.c,v 1.4 1997/08/14 06:41:00 charnier Exp $";
45 "$Id: tcopy.c,v 1.5 1999/04/30 13:13:32 phk Exp $";
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>

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

277 }
278 exit(1);
279}
280
281void
282intr(signo)
283 int signo;
284{
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>

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

277 }
278 exit(1);
279}
280
281void
282intr(signo)
283 int signo;
284{
285 if (record)
285 if (record) {
286 if (record - lastrec > 1)
287 fprintf(msg, "records %qu to %qu\n", lastrec, record);
288 else
289 fprintf(msg, "record %qu\n", lastrec);
286 if (record - lastrec > 1)
287 fprintf(msg, "records %qu to %qu\n", lastrec, record);
288 else
289 fprintf(msg, "record %qu\n", lastrec);
290 }
290 fprintf(msg, "interrupt at file %d: record %qu\n", filen, record);
291 fprintf(msg, "total length: %ld bytes\n", tsize + size);
292 exit(1);
293}
294
295void *
296getspace(blk)
297 int blk;

--- 45 unchanged lines hidden ---
291 fprintf(msg, "interrupt at file %d: record %qu\n", filen, record);
292 fprintf(msg, "total length: %ld bytes\n", tsize + size);
293 exit(1);
294}
295
296void *
297getspace(blk)
298 int blk;

--- 45 unchanged lines hidden ---