projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
file reorg, pathnames.h, paths.h
[unix-history]
/
usr
/
src
/
usr.bin
/
tcopy
/
tcopy.c
diff --git
a/usr/src/usr.bin/tcopy/tcopy.c
b/usr/src/usr.bin/tcopy/tcopy.c
index
7a822a9
..
f94e877
100644
(file)
--- a/
usr/src/usr.bin/tcopy/tcopy.c
+++ b/
usr/src/usr.bin/tcopy/tcopy.c
@@
-22,23
+22,21
@@
char copyright[] =
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)tcopy.c 5.1
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)tcopy.c 5.1
2
(Berkeley) %G%";
#endif /* not lint */
#endif /* not lint */
-#include <stdio.h>
-#include <signal.h>
-#include <sys/file.h>
#include <sys/types.h>
#include <sys/types.h>
+#include <sys/signal.h>
+#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/errno.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/errno.h>
+#include <stdio.h>
+#include "pathnames.h"
#define MAXREC (64 * 1024)
#define NOCOUNT (-2)
#define MAXREC (64 * 1024)
#define NOCOUNT (-2)
-#undef DEFTAPE
-#define DEFTAPE "/dev/rmt0"
-
int filen, guesslen, maxblk = MAXREC;
long lastrec, record, size, tsize;
int filen, guesslen, maxblk = MAXREC;
long lastrec, record, size, tsize;
@@
-81,7
+79,7
@@
main(argc, argv)
case 0:
if (op != READ)
usage();
case 0:
if (op != READ)
usage();
- inf = DEFTAPE;
+ inf =
_PATH_
DEFTAPE;
break;
case 1:
if (op != READ)
break;
case 1:
if (op != READ)