~blowry/file

189a3425f7b3a8db5d605c3a78cc97bdb7b2ba9b — Christos Zoulas 14 years ago 2536f26
Use File id.
M LEGAL.NOTICE => LEGAL.NOTICE +1 -1
@@ 1,4 1,4 @@
$Id: LEGAL.NOTICE,v 1.15 2006/05/03 18:48:33 christos Exp $
$File: LEGAL.NOTICE,v 1.15 2006/05/03 18:48:33 christos Exp $
Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995.
Software written by Ian F. Darwin and others;
maintained 1994- Christos Zoulas.

M MAINT => MAINT +1 -1
@@ 1,4 1,4 @@
$Id: MAINT,v 1.7 2006/06/01 18:19:41 ian Exp $
$File: MAINT,v 1.7 2006/06/01 18:19:41 ian Exp $

Maintenance notes:


M README => README +1 -1
@@ 1,5 1,5 @@
** README for file(1) Command **
@(#) $Id: README,v 1.34 2006/05/03 18:48:33 christos Exp $
@(#) $File: README,v 1.34 2006/05/03 18:48:33 christos Exp $

This is Release 4.x of Ian Darwin's (copyright but distributable)
file(1) command. This version is the standard "file" command for Linux,

M doc/file.man => doc/file.man +1 -1
@@ 1,4 1,4 @@
.\" $Id: file.man,v 1.63 2007/01/10 23:00:16 christos Exp $
.\" $File: file.man,v 1.63 2007/01/10 23:00:16 christos Exp $
.Dd January 8, 2007
.Dt FILE __CSECTION__
.Os

M doc/magic.man => doc/magic.man +2 -2
@@ 1,4 1,4 @@
.\" $Id: magic.man,v 1.36 2007/01/10 22:56:49 christos Exp $
.\" $File: magic.man,v 1.36 2007/01/10 22:56:49 christos Exp $
.Dd January 10, 2007
.Dt MAGIC __FSECTION__
.Os


@@ 446,4 446,4 @@ a system on which the lengths are invariant.
.\" the changes I posted to the S5R2 version.
.\"
.\" Modified for Ian Darwin's version of the file command.
.\" @(#)$Id: magic.man,v 1.36 2007/01/10 22:56:49 christos Exp $
.\" @(#)$Id: magic.man,v 1.37 2007/01/12 17:38:27 christos Exp $

M magic/Localstuff => magic/Localstuff +1 -1
@@ 2,6 2,6 @@
#------------------------------------------------------------------------------
# Localstuff:  file(1) magic for locally observed files
#
# $Id: Localstuff,v 1.4 2003/03/23 04:17:27 christos Exp $
# $File: Localstuff,v 1.4 2003/03/23 04:17:27 christos Exp $
# Add any locally observed files here.  Remember:
# text if readable, executable if runnable binary, data if unreadable.

M magic/magic2mime => magic/magic2mime +1 -1
@@ 1,6 1,6 @@
#! /usr/bin/env perl
# -*- PERL -*-
# $Id: magic2mime,v 1.4 2006/11/25 18:36:10 christos Exp $
# $File: magic2mime,v 1.4 2006/11/25 18:36:10 christos Exp $
# Copyright (c) 1996, 1997 vax@linkdead.paranoia.com (VaX#n8)
#
# Usage: echo 'your-file-output-here' | file_to_ctype.pl

M src/apprentice.c => src/apprentice.c +1 -1
@@ 46,7 46,7 @@
#endif

#ifndef	lint
FILE_RCSID("@(#)$Id: apprentice.c,v 1.100 2006/12/11 21:48:49 christos Exp $")
FILE_RCSID("@(#)$File: apprentice.c,v 1.100 2006/12/11 21:48:49 christos Exp $")
#endif	/* lint */

#define	EATAB {while (isascii((unsigned char) *l) && \

M src/apptype.c => src/apptype.c +1 -1
@@ 32,7 32,7 @@


#ifndef	lint
FILE_RCSID("@(#)$Id: apptype.c,v 1.6 2003/11/11 20:01:45 christos Exp $")
FILE_RCSID("@(#)$File: apptype.c,v 1.6 2003/11/11 20:01:45 christos Exp $")
#endif /* lint */

#ifdef __EMX__

M src/ascmagic.c => src/ascmagic.c +1 -1
@@ 49,7 49,7 @@
#include "names.h"

#ifndef	lint
FILE_RCSID("@(#)$Id: ascmagic.c,v 1.46 2006/10/20 21:04:15 christos Exp $")
FILE_RCSID("@(#)$File: ascmagic.c,v 1.46 2006/10/20 21:04:15 christos Exp $")
#endif	/* lint */

typedef unsigned long unichar;

M src/compress.c => src/compress.c +1 -1
@@ 51,7 51,7 @@
#endif

#ifndef lint
FILE_RCSID("@(#)$Id: compress.c,v 1.45 2006/10/31 19:37:17 christos Exp $")
FILE_RCSID("@(#)$File: compress.c,v 1.45 2006/10/31 19:37:17 christos Exp $")
#endif

private struct {

M src/file.c => src/file.c +1 -1
@@ 71,7 71,7 @@
#include "patchlevel.h"

#ifndef	lint
FILE_RCSID("@(#)$Id: file.c,v 1.104 2006/11/25 17:28:54 christos Exp $")
FILE_RCSID("@(#)$File: file.c,v 1.104 2006/11/25 17:28:54 christos Exp $")
#endif	/* lint */



M src/file.h => src/file.h +1 -1
@@ 27,7 27,7 @@
 */
/*
 * file.h - definitions for file(1) program
 * @(#)$Id: file.h,v 1.83 2006/12/11 21:48:49 christos Exp $
 * @(#)$File: file.h,v 1.83 2006/12/11 21:48:49 christos Exp $
 */

#ifndef __file_h__

M src/fsmagic.c => src/fsmagic.c +1 -1
@@ 57,7 57,7 @@
#undef HAVE_MAJOR

#ifndef	lint
FILE_RCSID("@(#)$Id: fsmagic.c,v 1.46 2005/06/25 15:52:14 christos Exp $")
FILE_RCSID("@(#)$File: fsmagic.c,v 1.46 2005/06/25 15:52:14 christos Exp $")
#endif	/* lint */

protected int

M src/funcs.c => src/funcs.c +1 -1
@@ 38,7 38,7 @@
#endif

#ifndef	lint
FILE_RCSID("@(#)$Id: funcs.c,v 1.23 2006/12/11 21:48:49 christos Exp $")
FILE_RCSID("@(#)$File: funcs.c,v 1.23 2006/12/11 21:48:49 christos Exp $")
#endif	/* lint */

#ifndef HAVE_VSNPRINTF

M src/is_tar.c => src/is_tar.c +1 -1
@@ 45,7 45,7 @@
#include "tar.h"

#ifndef lint
FILE_RCSID("@(#)$Id: is_tar.c,v 1.26 2006/05/03 15:19:25 christos Exp $")
FILE_RCSID("@(#)$File: is_tar.c,v 1.26 2006/05/03 15:19:25 christos Exp $")
#endif

#define	isodigit(c)	( ((c) >= '0') && ((c) <= '7') )

M src/magic.c => src/magic.c +1 -1
@@ 63,7 63,7 @@
#include "patchlevel.h"

#ifndef	lint
FILE_RCSID("@(#)$Id: magic.c,v 1.35 2006/10/31 19:37:17 christos Exp $")
FILE_RCSID("@(#)$File: magic.c,v 1.35 2006/10/31 19:37:17 christos Exp $")
#endif	/* lint */

#ifdef __EMX__

M src/names.h => src/names.h +1 -1
@@ 32,7 32,7 @@
 * appear at fixed offsets into the file. Don't make HOWMANY
 * too high unless you have a very fast CPU.
 *
 * $Id: names.h,v 1.25 2004/09/11 19:15:57 christos Exp $
 * $File: names.h,v 1.25 2004/09/11 19:15:57 christos Exp $
 */

/*

M src/patchlevel.h => src/patchlevel.h +4 -1
@@ 3,9 3,12 @@

/*
 * Patchlevel file for Ian Darwin's MAGIC command.
 * $Id: patchlevel.h,v 1.62 2006/12/11 21:49:58 christos Exp $
 * $File: patchlevel.h,v 1.62 2006/12/11 21:49:58 christos Exp $
 *
 * $Log: patchlevel.h,v $
 * Revision 1.63  2007/01/12 17:38:28  christos
 * Use File id.
 *
 * Revision 1.62  2006/12/11 21:49:58  christos
 * time for 4.19
 *

M src/print.c => src/print.c +1 -1
@@ 41,7 41,7 @@
#include <time.h>

#ifndef lint
FILE_RCSID("@(#)$Id: print.c,v 1.56 2006/12/08 20:31:07 christos Exp $")
FILE_RCSID("@(#)$File: print.c,v 1.56 2006/12/08 20:31:07 christos Exp $")
#endif  /* lint */

#define SZOF(a)	(sizeof(a) / sizeof(a[0]))

M src/readelf.c => src/readelf.c +1 -1
@@ 37,7 37,7 @@
#include "readelf.h"

#ifndef lint
FILE_RCSID("@(#)$Id: readelf.c,v 1.61 2006/11/15 15:53:23 christos Exp $")
FILE_RCSID("@(#)$File: readelf.c,v 1.61 2006/11/15 15:53:23 christos Exp $")
#endif

#ifdef	ELFCORE

M src/softmagic.c => src/softmagic.c +1 -1
@@ 39,7 39,7 @@


#ifndef	lint
FILE_RCSID("@(#)$Id: softmagic.c,v 1.87 2006/12/11 21:48:49 christos Exp $")
FILE_RCSID("@(#)$File: softmagic.c,v 1.87 2006/12/11 21:48:49 christos Exp $")
#endif	/* lint */

private int match(struct magic_set *, struct magic *, uint32_t,

M src/tar.h => src/tar.h +1 -1
@@ 32,7 32,7 @@
 *
 * Created 25 August 1985 by John Gilmore, ihnp4!hoptoad!gnu.
 *
 * $Id: tar.h,v 1.9 2006/05/03 15:19:25 christos Exp $ # checkin only
 * $File: tar.h,v 1.9 2006/05/03 15:19:25 christos Exp $ # checkin only
 */

/*