projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c680220
)
grok cpio
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Sun, 21 Sep 1980 09:44:11 +0000
(
01:44
-0800)
committer
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Sun, 21 Sep 1980 09:44:11 +0000
(
01:44
-0800)
SCCS-vsn: usr.bin/file/file.c 3.2
usr/src/usr.bin/file/file.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.bin/file/file.c
b/usr/src/usr.bin/file/file.c
index
ec061dd
..
c69bae4
100644
(file)
--- a/
usr/src/usr.bin/file/file.c
+++ b/
usr/src/usr.bin/file/file.c
@@
-1,4
+1,4
@@
-static char sccsid[] = "@(#)file.c 3.
1
%G%";
+static char sccsid[] = "@(#)file.c 3.
2
%G%";
/*
* file - determine type of file
*/
/*
* file - determine type of file
*/
@@
-139,6
+139,10
@@
exec:
case 0177545:
printf("old archive\n");
goto out;
case 0177545:
printf("old archive\n");
goto out;
+
+ case 070707:
+ printf("cpio data\n");
+ goto out;
}
if(strncmp(buf, "!<arch>\n__.SYMDEF", 17) == 0 ) {
}
if(strncmp(buf, "!<arch>\n__.SYMDEF", 17) == 0 ) {