grok cpio
authorBill Joy <bill@ucbvax.Berkeley.EDU>
Sun, 21 Sep 1980 09:44:11 +0000 (01:44 -0800)
committerBill 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

index ec061dd..c69bae4 100644 (file)
@@ -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 ) {