summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/LEGAL.NOTICE2
-rw-r--r--usr.bin/file/MAINT2
-rw-r--r--usr.bin/file/Makefile2
-rw-r--r--usr.bin/file/PORTING2
-rw-r--r--usr.bin/file/README2
-rw-r--r--usr.bin/file/apprentice.c4
-rw-r--r--usr.bin/file/ascmagic.c4
-rw-r--r--usr.bin/file/compress.c2
-rw-r--r--usr.bin/file/file.12
-rw-r--r--usr.bin/file/file.c4
-rw-r--r--usr.bin/file/file.h2
-rw-r--r--usr.bin/file/fsmagic.c4
-rw-r--r--usr.bin/file/is_tar.c2
-rw-r--r--usr.bin/file/magdir/Header2
-rw-r--r--usr.bin/file/magdir/Localstuff2
-rw-r--r--usr.bin/file/magdir/os91
-rw-r--r--usr.bin/file/magdir/rpm2
-rw-r--r--usr.bin/file/magdir/softquad2
-rw-r--r--usr.bin/file/magic.52
-rw-r--r--usr.bin/file/names.h2
-rw-r--r--usr.bin/file/patchlevel.h5
-rw-r--r--usr.bin/file/print.c4
-rw-r--r--usr.bin/file/softmagic.c4
-rw-r--r--usr.bin/file/tar.h2
-rw-r--r--usr.bin/file/tst/Makefile2
25 files changed, 36 insertions, 28 deletions
diff --git a/usr.bin/file/LEGAL.NOTICE b/usr.bin/file/LEGAL.NOTICE
index c028f510661..8596a3eccc0 100644
--- a/usr.bin/file/LEGAL.NOTICE
+++ b/usr.bin/file/LEGAL.NOTICE
@@ -1,6 +1,6 @@
+$OpenBSD: LEGAL.NOTICE,v 1.3 1996/06/26 05:32:51 deraadt Exp $
Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995.
Software written by Ian F. Darwin and others; maintained by Christos Zoulas.
-$Id: LEGAL.NOTICE,v 1.2 1995/12/14 03:30:00 deraadt Exp $
This software (or derivative software) may not be made subject to any
license which denies anyone permission to alter it and redistribute it
diff --git a/usr.bin/file/MAINT b/usr.bin/file/MAINT
index 023f33dfda5..62776212b13 100644
--- a/usr.bin/file/MAINT
+++ b/usr.bin/file/MAINT
@@ -1,4 +1,4 @@
-$Id: MAINT,v 1.1 1995/10/18 08:45:08 deraadt Exp $
+$OpenBSD: MAINT,v 1.2 1996/06/26 05:32:52 deraadt Exp $
Maintenance notes:
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index b22771c6070..b93988dded4 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.2 1996/01/02 11:50:57 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1996/06/26 05:32:52 deraadt Exp $
MAGIC= /etc/magic
MAGICOWN= bin
diff --git a/usr.bin/file/PORTING b/usr.bin/file/PORTING
index 165fdaeb9dc..aaa4754f276 100644
--- a/usr.bin/file/PORTING
+++ b/usr.bin/file/PORTING
@@ -1,5 +1,5 @@
+@(#) $OpenBSD: PORTING,v 1.2 1996/06/26 05:32:53 deraadt Exp $
Portability of the new file(1) command.
-@(#) $Id: PORTING,v 1.1 1995/10/18 08:45:08 deraadt Exp $
Read this file only if the program doesn't compile on your system.
diff --git a/usr.bin/file/README b/usr.bin/file/README
index 2bd77111e41..b8f0ebba34b 100644
--- a/usr.bin/file/README
+++ b/usr.bin/file/README
@@ -1,5 +1,5 @@
+@(#) $OpenBSD: README,v 1.2 1996/06/26 05:32:53 deraadt Exp $
** README for file(1) Command **
-@(#) $Id: README,v 1.1 1995/10/18 08:45:08 deraadt Exp $
This is Release 3.x of Ian Darwin's (copyright but distributable)
file(1) command. Release 3.x is scheduled for inclusion in the
diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c
index 3a900b33879..c6311b8885c 100644
--- a/usr.bin/file/apprentice.c
+++ b/usr.bin/file/apprentice.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: apprentice.c,v 1.3 1996/06/26 05:32:54 deraadt Exp $ */
/*
* apprentice - make one pass through /etc/magic, learning its secrets.
*
@@ -33,8 +34,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid =
- "@(#)$Id: apprentice.c,v 1.2 1995/12/14 03:30:01 deraadt Exp $";
+static char *moduleid = "$OpenBSD: apprentice.c,v 1.3 1996/06/26 05:32:54 deraadt Exp $";
#endif /* lint */
#define EATAB {while (isascii((unsigned char) *l) && \
diff --git a/usr.bin/file/ascmagic.c b/usr.bin/file/ascmagic.c
index b065bd3288b..455f3043b9b 100644
--- a/usr.bin/file/ascmagic.c
+++ b/usr.bin/file/ascmagic.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: ascmagic.c,v 1.2 1996/06/26 05:32:54 deraadt Exp $ */
/*
* ASCII magic -- file types that we know based on keywords
* that can appear anywhere in the file.
@@ -35,8 +36,7 @@
#include "names.h"
#ifndef lint
-static char *moduleid =
- "@(#)$Id: ascmagic.c,v 1.1 1995/10/18 08:45:08 deraadt Exp $";
+static char *moduleid = "$OpenBSD: ascmagic.c,v 1.2 1996/06/26 05:32:54 deraadt Exp $";
#endif /* lint */
/* an optimisation over plain strcmp() */
diff --git a/usr.bin/file/compress.c b/usr.bin/file/compress.c
index 6e2c336cd10..c6fe63cf78b 100644
--- a/usr.bin/file/compress.c
+++ b/usr.bin/file/compress.c
@@ -1,10 +1,10 @@
+/* $OpenBSD: compress.c,v 1.2 1996/06/26 05:32:55 deraadt Exp $ */
/*
* compress routines:
* zmagic() - returns 0 if not recognized, uncompresses and prints
* information if recognized
* uncompress(method, old, n, newch) - uncompress old into new,
* using method, return sizeof new
- * $Id: compress.c,v 1.1 1995/10/18 08:45:08 deraadt Exp $
*/
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index a47f15ec374..706f08e82bc 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -1,5 +1,5 @@
+.\" $OpenBSD: file.1,v 1.3 1996/06/26 05:32:56 deraadt Exp $
.TH FILE 1 "Copyright but distributable"
-.\" $Id: file.1,v 1.2 1995/12/14 03:30:02 deraadt Exp $
.SH NAME
file
\- determine file type
diff --git a/usr.bin/file/file.c b/usr.bin/file/file.c
index ddf4bce9f02..a0497c409a6 100644
--- a/usr.bin/file/file.c
+++ b/usr.bin/file/file.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: file.c,v 1.3 1996/06/26 05:32:56 deraadt Exp $ */
/*
* file - find type of a file or files - main program.
*
@@ -25,8 +26,7 @@
* 4. This notice may not be removed or altered.
*/
#ifndef lint
-static char *moduleid =
- "@(#)$Id: file.c,v 1.2 1995/12/14 03:30:03 deraadt Exp $";
+static char *moduleid = "$OpenBSD: file.c,v 1.3 1996/06/26 05:32:56 deraadt Exp $";
#endif /* lint */
#include <stdio.h>
diff --git a/usr.bin/file/file.h b/usr.bin/file/file.h
index 42b1cbdb2e0..0fa7a831061 100644
--- a/usr.bin/file/file.h
+++ b/usr.bin/file/file.h
@@ -1,6 +1,6 @@
+/* * @(#)$OpenBSD: file.h,v 1.2 1996/06/26 05:32:57 deraadt Exp $*/
/*
* file.h - definitions for file(1) program
- * @(#)$Id: file.h,v 1.1 1995/10/18 08:45:09 deraadt Exp $
*
* Copyright (c) Ian F. Darwin, 1987.
* Written by Ian F. Darwin.
diff --git a/usr.bin/file/fsmagic.c b/usr.bin/file/fsmagic.c
index 0b1d3aba301..33cd2dbfcb5 100644
--- a/usr.bin/file/fsmagic.c
+++ b/usr.bin/file/fsmagic.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: fsmagic.c,v 1.2 1996/06/26 05:32:57 deraadt Exp $ */
/*
* fsmagic - magic based on filesystem info - directory, special files, etc.
*
@@ -45,8 +46,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid =
- "@(#)$Id: fsmagic.c,v 1.1 1995/10/18 08:45:09 deraadt Exp $";
+static char *moduleid = "$OpenBSD: fsmagic.c,v 1.2 1996/06/26 05:32:57 deraadt Exp $";
#endif /* lint */
int
diff --git a/usr.bin/file/is_tar.c b/usr.bin/file/is_tar.c
index 4ab6dcc60f3..c6ebe06e2a4 100644
--- a/usr.bin/file/is_tar.c
+++ b/usr.bin/file/is_tar.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: is_tar.c,v 1.2 1996/06/26 05:32:58 deraadt Exp $ */
/*
* is_tar() -- figure out whether file is a tar archive.
*
@@ -5,7 +6,6 @@
* Pubic Domain version written 26 Aug 1985 John Gilmore (ihnp4!hoptoad!gnu).
*
* @(#)list.c 1.18 9/23/86 Public Domain - gnu
- * $Id: is_tar.c,v 1.1 1995/10/18 08:45:09 deraadt Exp $
*
* Comments changed and some code/comments reformatted
* for file command by Ian Darwin.
diff --git a/usr.bin/file/magdir/Header b/usr.bin/file/magdir/Header
index 0c97baede0c..5a4f3cef427 100644
--- a/usr.bin/file/magdir/Header
+++ b/usr.bin/file/magdir/Header
@@ -1,4 +1,6 @@
#! file
+# $OpenBSD: Header,v 1.2 1996/06/26 05:33:03 deraadt Exp $
+
# Magic data for file(1) command.
# Machine-genererated from src/cmd/file/magdir/*; edit there only!
# Format is described in magic(files), where:
diff --git a/usr.bin/file/magdir/Localstuff b/usr.bin/file/magdir/Localstuff
index 58df62f8b5e..9c4d992483c 100644
--- a/usr.bin/file/magdir/Localstuff
+++ b/usr.bin/file/magdir/Localstuff
@@ -1,7 +1,7 @@
+# $OpenBSD: Localstuff,v 1.2 1996/06/26 05:33:03 deraadt Exp $
#------------------------------------------------------------------------------
# Localstuff: file(1) magic for locally observed files
#
-# $Id: Localstuff,v 1.1 1995/10/18 08:45:09 deraadt Exp $
# Add any locally observed files here. Remember:
# text if readable, executable if runnable binary, data if unreadable.
diff --git a/usr.bin/file/magdir/os9 b/usr.bin/file/magdir/os9
index 83fdbbc024f..b92a1cbb25b 100644
--- a/usr.bin/file/magdir/os9
+++ b/usr.bin/file/magdir/os9
@@ -1,4 +1,5 @@
#
+# $OpenBSD: os9,v 1.2 1996/06/26 05:33:04 deraadt Exp $
# $NetBSD: os9,v 1.1 1996/05/06 18:24:01 is Exp $
#
# Copyright (c) 1996 Ignatios Souvatzis. All rights reserved.
diff --git a/usr.bin/file/magdir/rpm b/usr.bin/file/magdir/rpm
index 7b89c682cf4..d11ca717e2f 100644
--- a/usr.bin/file/magdir/rpm
+++ b/usr.bin/file/magdir/rpm
@@ -1,3 +1,5 @@
+# $OpenBSD: rpm,v 1.2 1996/06/26 05:33:04 deraadt Exp $
+
#------------------------------------------------------------------------------
#
# RPM: file(1) magic for Red Hat Packages Erik Troan (ewt@redhat.com)
diff --git a/usr.bin/file/magdir/softquad b/usr.bin/file/magdir/softquad
index 79ab9151015..bbb6661e6b5 100644
--- a/usr.bin/file/magdir/softquad
+++ b/usr.bin/file/magdir/softquad
@@ -1,8 +1,8 @@
+# $OpenBSD: softquad,v 1.3 1996/06/26 05:33:05 deraadt Exp $
#------------------------------------------------------------------------------
# softquad: file(1) magic for SoftQuad Publishing Software
#
-# $Id: softquad,v 1.2 1995/12/14 03:30:25 deraadt Exp $
# Author/Editor and RulesBuilder
#
# XXX - byte order?
diff --git a/usr.bin/file/magic.5 b/usr.bin/file/magic.5
index 4d9fe1c6a50..bd93f5e75d7 100644
--- a/usr.bin/file/magic.5
+++ b/usr.bin/file/magic.5
@@ -1,3 +1,4 @@
+.\" @(#)$OpenBSD: magic.5,v 1.2 1996/06/26 05:32:59 deraadt Exp $
.TH MAGIC 5 "Public Domain"
.\" install as magic.5 on USG, magic.5 on V7 or Berkeley systems.
.SH NAME
@@ -191,4 +192,3 @@ indirect offsets.
.\" the changes I posted to the S5R2 version.
.\"
.\" Modified for Ian Darwin's version of the file command.
-.\" @(#)$Id: magic.5,v 1.1 1995/10/18 08:45:09 deraadt Exp $
diff --git a/usr.bin/file/names.h b/usr.bin/file/names.h
index 2fb53feabdf..7d0f2dae9ff 100644
--- a/usr.bin/file/names.h
+++ b/usr.bin/file/names.h
@@ -1,3 +1,4 @@
+/* * $OpenBSD: names.h,v 1.2 1996/06/26 05:32:59 deraadt Exp $*/
/*
* Names.h - names and types used by ascmagic in file(1).
* These tokens are here because they can appear anywhere in
@@ -10,7 +11,6 @@
*
* See LEGAL.NOTICE
*
- * $Id: names.h,v 1.1 1995/10/18 08:45:09 deraadt Exp $
*/
/* these types are used to index the table 'types': keep em in sync! */
diff --git a/usr.bin/file/patchlevel.h b/usr.bin/file/patchlevel.h
index 7706ea4a04e..0109d131cd1 100644
--- a/usr.bin/file/patchlevel.h
+++ b/usr.bin/file/patchlevel.h
@@ -1,11 +1,14 @@
+/* * $OpenBSD: patchlevel.h,v 1.3 1996/06/26 05:33:00 deraadt Exp $*/
#define FILE_VERSION_MAJOR 3
#define patchlevel 19
/*
* Patchlevel file for Ian Darwin's MAGIC command.
- * $Id: patchlevel.h,v 1.2 1995/12/14 03:30:04 deraadt Exp $
*
* $Log: patchlevel.h,v $
+ * Revision 1.3 1996/06/26 05:33:00 deraadt
+ * rcsid
+ *
* Revision 1.2 1995/12/14 03:30:04 deraadt
* update from netbsd
*
diff --git a/usr.bin/file/print.c b/usr.bin/file/print.c
index ec773cbd9eb..839bf0447c4 100644
--- a/usr.bin/file/print.c
+++ b/usr.bin/file/print.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: print.c,v 1.2 1996/06/26 05:33:00 deraadt Exp $ */
/*
* print.c - debugging printout routines
*
@@ -39,8 +40,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid =
- "@(#)$Id: print.c,v 1.1 1995/10/18 08:45:09 deraadt Exp $";
+static char *moduleid = "$OpenBSD: print.c,v 1.2 1996/06/26 05:33:00 deraadt Exp $";
#endif /* lint */
#define SZOF(a) (sizeof(a) / sizeof(a[0]))
diff --git a/usr.bin/file/softmagic.c b/usr.bin/file/softmagic.c
index 957f37cbb2d..bdcde972f1a 100644
--- a/usr.bin/file/softmagic.c
+++ b/usr.bin/file/softmagic.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: softmagic.c,v 1.2 1996/06/26 05:33:01 deraadt Exp $ */
/*
* softmagic - interpret variable magic from /etc/magic
*
@@ -33,8 +34,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid =
- "@(#)$Id: softmagic.c,v 1.1 1995/10/18 08:45:09 deraadt Exp $";
+static char *moduleid = "$OpenBSD: softmagic.c,v 1.2 1996/06/26 05:33:01 deraadt Exp $";
#endif /* lint */
static int match __P((unsigned char *, int));
diff --git a/usr.bin/file/tar.h b/usr.bin/file/tar.h
index f6009ee9fb7..346831bde5d 100644
--- a/usr.bin/file/tar.h
+++ b/usr.bin/file/tar.h
@@ -1,3 +1,4 @@
+/* * $OpenBSD: tar.h,v 1.2 1996/06/26 05:33:02 deraadt Exp $ # checkin only*/
/*
* Header file for public domain tar (tape archive) program.
*
@@ -5,7 +6,6 @@
*
* Created 25 August 1985 by John Gilmore, ihnp4!hoptoad!gnu.
*
- * $Id: tar.h,v 1.1 1995/10/18 08:45:09 deraadt Exp $ # checkin only
*/
/*
diff --git a/usr.bin/file/tst/Makefile b/usr.bin/file/tst/Makefile
index ab6a2966a9a..7947b5763af 100644
--- a/usr.bin/file/tst/Makefile
+++ b/usr.bin/file/tst/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1995/10/18 08:45:13 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 1996/06/26 05:33:06 deraadt Exp $
# Make up some fake test files that are easily produced.
# By no means an exhaustive test!