]>
granicus.if.org Git - file/log
Ian Darwin [Tue, 8 Sep 1992 15:32:33 +0000 (15:32 +0000)]
Initial revision
Ian Darwin [Tue, 8 Sep 1992 15:32:09 +0000 (15:32 +0000)]
Add RCS ID.
Ian Darwin [Tue, 8 Sep 1992 15:28:03 +0000 (15:28 +0000)]
Warn bout stdlib.h, update various minor notes.
Ian Darwin [Tue, 8 Sep 1992 15:27:39 +0000 (15:27 +0000)]
Change default magic location, man directory, etc.
Ian Darwin [Tue, 8 Sep 1992 15:27:23 +0000 (15:27 +0000)]
Update for major rev 3.0.
Ian Darwin [Tue, 8 Sep 1992 15:07:23 +0000 (15:07 +0000)]
Document -z now that it works.
Ian Darwin [Tue, 8 Sep 1992 15:06:05 +0000 (15:06 +0000)]
Zoulos: fix bug that ran tryit() even if uncompress() failed.
Uncomment out the free(newbuf) if uncompress succeeded.
Ian Darwin [Tue, 8 Sep 1992 15:04:34 +0000 (15:04 +0000)]
Zoulos: prototypes for readlink & lstat; make sb a pointer in
fsmagic so it's updated in main, and change refs throughout;
use strerror() a few places; other minor changes.
Ian Darwin [Tue, 8 Sep 1992 15:03:05 +0000 (15:03 +0000)]
Zoulos' changes: dynalloc the array of magic data (finally!); add
HP indirection stuff; some casts and other minor cleanups.
Ian Darwin [Tue, 8 Sep 1992 15:01:52 +0000 (15:01 +0000)]
Zoulos' version: sagans of tiny changes, mostly for dynamic arrays,
ANSI C, dropping old cruft.
Ian Darwin [Tue, 8 Sep 1992 15:01:08 +0000 (15:01 +0000)]
Hurray! Zoulos wrote in the missing glop to my framework, to actually
*do* the uncompression of a .Z file.
Ian Darwin [Tue, 8 Sep 1992 15:00:32 +0000 (15:00 +0000)]
Zoulos: many small changes. Remove bcmp?
Ian Darwin [Tue, 8 Sep 1992 14:59:31 +0000 (14:59 +0000)]
Zoulos: add varargs, add HP indirection, etc.
Ian Darwin [Tue, 8 Sep 1992 14:58:34 +0000 (14:58 +0000)]
Many changes from Zoulos@cornell.edu: use __P for prototyped functions;
drop old dregs, add header for HP continuations.
Ian Darwin [Tue, 30 Jun 1992 13:38:50 +0000 (13:38 +0000)]
More of same.
Ian Darwin [Tue, 30 Jun 1992 13:37:32 +0000 (13:37 +0000)]
Initial revision
Ian Darwin [Tue, 30 Jun 1992 13:26:20 +0000 (13:26 +0000)]
Make two guys static.
Ian Darwin [Tue, 30 Jun 1992 13:25:59 +0000 (13:25 +0000)]
Zoulos' changes for indirection.
Ian Darwin [Tue, 30 Jun 1992 13:25:28 +0000 (13:25 +0000)]
Zoulos' changes for automatic installation.
Ian Darwin [Tue, 30 Jun 1992 13:23:16 +0000 (13:23 +0000)]
Version number is 1.5
Ian Darwin [Tue, 30 Jun 1992 13:22:30 +0000 (13:22 +0000)]
Change Header to Id in RCS keyword.
Ian Darwin [Tue, 30 Jun 1992 13:19:25 +0000 (13:19 +0000)]
add MAINT file.
Ian Darwin [Tue, 30 Jun 1992 13:16:07 +0000 (13:16 +0000)]
Increase MAXMAGIS from 600 to 1000(!). Memory is cheap.
Incorporate Zoulos' changes to "contflag" for HP-style indirection.
Ian Darwin [Tue, 30 Jun 1992 13:12:18 +0000 (13:12 +0000)]
Add SHELL=/bin/sh, and change one cc to $(CC).
Ian Darwin [Tue, 30 Jun 1992 13:11:10 +0000 (13:11 +0000)]
Initial revision
Ian Darwin [Fri, 22 May 1992 17:58:06 +0000 (17:58 +0000)]
Add ANSI and K+R decls for most functions; change a few types.
Ian Darwin [Fri, 22 May 1992 17:53:57 +0000 (17:53 +0000)]
Change:
< for (i = sizeof(*header); --i >= 0;) {
---
> for (i = sizeof(union record); --i >= 0;) {
since at least 1 compiler couldn't handle it. From_oct() now
static, and decl'd both ANSI and KnR way.
Ian Darwin [Fri, 22 May 1992 17:52:34 +0000 (17:52 +0000)]
Include <stdlib.h>, mark one function void.
Ian Darwin [Fri, 22 May 1992 17:51:52 +0000 (17:51 +0000)]
Add decls of lstat() and readlink(); warning and error take 2 args,
process, 1 arg.
Ian Darwin [Fri, 22 May 1992 17:50:52 +0000 (17:50 +0000)]
Rename try to tryit; give warning exactly 2 args; process() now has 1 arg;
delete definition of struct utimbuf.
Ian Darwin [Fri, 22 May 1992 17:50:26 +0000 (17:50 +0000)]
Minor fixup of types.
Rename variable "new" to "newch" for C++ compatibility.
Ian Darwin [Fri, 22 May 1992 17:49:23 +0000 (17:49 +0000)]
Fix typo in previous fix (he used & where && was meant); add decls for
forward functions, and fixup some types.
Ian Darwin [Fri, 22 May 1992 17:48:38 +0000 (17:48 +0000)]
Use header files and remove some externs; fixup args to uncompress;
rename try to tryit under advance of new C++ keyword.
Ian Darwin [Fri, 22 May 1992 17:47:58 +0000 (17:47 +0000)]
Warning and error take exactly 2 args here; fixup uncompress() decl;
add non-ANSI decls for all listed functions.
Ian Darwin [Thu, 21 May 1992 17:56:07 +0000 (17:56 +0000)]
Add New-C definitions for most cross-module functions.
Ian Darwin [Thu, 21 May 1992 16:38:53 +0000 (16:38 +0000)]
Add rph's compiled PSI files.
Ian Darwin [Thu, 21 May 1992 16:24:25 +0000 (16:24 +0000)]
Try an RCS ident instead of Header.
Ian Darwin [Thu, 21 May 1992 16:23:12 +0000 (16:23 +0000)]
Cast a comparison to signed char. Still a bit shakey...
Ian Darwin [Thu, 21 May 1992 16:21:33 +0000 (16:21 +0000)]
Update address; I'd moved since 1987.
Ian Darwin [Thu, 21 May 1992 16:21:26 +0000 (16:21 +0000)]
New dates and new exclustions.
Ian Darwin [Thu, 21 May 1992 16:20:21 +0000 (16:20 +0000)]
Update for Rob McMahon's masking changes.
Ian Darwin [Thu, 21 May 1992 16:19:53 +0000 (16:19 +0000)]
Delete a line that error(1) inserted.
Ian Darwin [Thu, 21 May 1992 16:19:26 +0000 (16:19 +0000)]
Changes for masking.
Ian Darwin [Thu, 21 May 1992 16:18:31 +0000 (16:18 +0000)]
No longer force -Bstatic. No localsrcs by default. Minor tweaks.
Ian Darwin [Thu, 21 May 1992 16:17:28 +0000 (16:17 +0000)]
Changes from cudcv@warwick.ac.uk (Rob McMahon) to allow more general
masking operator.
Ian Darwin [Thu, 21 May 1992 16:15:12 +0000 (16:15 +0000)]
Changes from cudcv@warwick.ac.uk (Rob McMahon) to allow more general
masking operator ( >2 byte&0177 =2
rather than just >2 byte &0200). First round of applying these
substantial diffs; beware of missing bits & pieces.
Ian Darwin [Mon, 25 Feb 1991 10:02:28 +0000 (10:02 +0000)]
Try to make filenames line up by putting 2nd tab if strlen(name)<7,
like other file commands do.
Ian Darwin [Wed, 23 Jan 1991 13:56:27 +0000 (13:56 +0000)]
Delint.
Ian Darwin [Wed, 23 Jan 1991 13:33:18 +0000 (13:33 +0000)]
Clean rule: add core, fix name of lint.
Ian Darwin [Wed, 23 Jan 1991 13:30:21 +0000 (13:30 +0000)]
Changes for SunOS4. New file compress.[co]. Add NEWMAGIC dir to shar.
Rename magdir to Magdir so it sorts first on unix.
Ian Darwin [Wed, 23 Jan 1991 13:23:23 +0000 (13:23 +0000)]
Break out "try" routine, takes a buffer and nbytes, to call
softmagic and ascmagic, defaulting to "data", so it can be called
by the compress handler in hardmagic.c. Add new -z option, to
(later) handle uncompressing of files.
Minor formatting changes at front of file.
Ian Darwin [Wed, 23 Jan 1991 13:22:06 +0000 (13:22 +0000)]
Add dollop of code for compression. Nbytes no longer global, but
now zflag is. Tweak troff code a little.
Ian Darwin [Wed, 23 Jan 1991 13:21:44 +0000 (13:21 +0000)]
Initial revision
Ian Darwin [Wed, 23 Jan 1991 12:12:20 +0000 (12:12 +0000)]
Print "dangling symbolic link" for symlinks that point into deep space.
Ian Darwin [Wed, 10 Oct 1990 15:50:57 +0000 (15:50 +0000)]
Reduce noise in comments.
Ian Darwin [Wed, 10 Oct 1990 15:43:10 +0000 (15:43 +0000)]
Update from Jef Poskanzer on new Px formats.
Ian Darwin [Wed, 10 Oct 1990 15:28:16 +0000 (15:28 +0000)]
Add A/E,RulesBuilder stuff from rph@sq
Ian Darwin [Wed, 10 Oct 1990 15:26:47 +0000 (15:26 +0000)]
Major rewrite, courtesy rph@sq.
Ian Darwin [Wed, 3 Oct 1990 18:35:51 +0000 (18:35 +0000)]
Document -L.
Ian Darwin [Wed, 3 Oct 1990 18:35:35 +0000 (18:35 +0000)]
Add version number; reformat first paragraph.
Ian Darwin [Wed, 3 Oct 1990 18:19:05 +0000 (18:19 +0000)]
Better magic, AND use new &operator to figure out "dynamically linked".
Ian Darwin [Wed, 3 Oct 1990 18:10:02 +0000 (18:10 +0000)]
Better shar; new dist.magic
Ian Darwin [Wed, 3 Oct 1990 17:57:04 +0000 (17:57 +0000)]
Unimportant text hacking.
Ian Darwin [Wed, 3 Oct 1990 17:56:18 +0000 (17:56 +0000)]
Revisions for masking operators.
Ian Darwin [Wed, 3 Oct 1990 17:54:04 +0000 (17:54 +0000)]
Document the bitmasking operations.
Ian Darwin [Wed, 3 Oct 1990 17:53:29 +0000 (17:53 +0000)]
Up the limit MAXMAGIS, and add mask in struct for bitfield ops.
Ian Darwin [Wed, 3 Oct 1990 17:52:59 +0000 (17:52 +0000)]
Code (from who??) for masking and alignment.
Ian Darwin [Wed, 3 Oct 1990 17:51:19 +0000 (17:51 +0000)]
Add the missing space in symlink message.
Ian Darwin [Wed, 3 Oct 1990 17:48:40 +0000 (17:48 +0000)]
Add a -L option that lets you follow symlinks, after BSD ls(1)'s -L option.
Ian Darwin [Sun, 5 Aug 1990 14:48:21 +0000 (14:48 +0000)]
Initial revision
Ian Darwin [Sun, 5 Aug 1990 14:48:13 +0000 (14:48 +0000)]
Add more types.
Ian Darwin [Thu, 5 Jul 1990 11:16:55 +0000 (11:16 +0000)]
Initial revision
Ian Darwin [Tue, 16 Jan 1990 14:36:42 +0000 (14:36 +0000)]
Add ms-dog program libraries.
Ian Darwin [Tue, 16 Jan 1990 14:33:30 +0000 (14:33 +0000)]
Initial revision
Ian Darwin [Fri, 12 May 1989 14:48:23 +0000 (14:48 +0000)]
Add 0520 (tty630 layers executable) from gc.
Ian Darwin [Fri, 12 May 1989 13:52:15 +0000 (13:52 +0000)]
Shorten a too-long string, and put = before <string>.
Ian Darwin [Thu, 11 May 1989 15:33:17 +0000 (15:33 +0000)]
Revisions by Don Dwiggins <atsun!dwiggins>.
Ian Darwin [Thu, 11 May 1989 15:29:14 +0000 (15:29 +0000)]
Initial revision
Ian Darwin [Thu, 11 May 1989 15:23:07 +0000 (15:23 +0000)]
Avoid "old sun-2" on files with zeroes at front.
Ian Darwin [Thu, 11 May 1989 15:22:52 +0000 (15:22 +0000)]
handle spaces better.
Ian Darwin [Thu, 11 May 1989 15:13:29 +0000 (15:13 +0000)]
Initial revision
Ian Darwin [Thu, 11 May 1989 15:04:53 +0000 (15:04 +0000)]
*** empty log message ***
Ian Darwin [Thu, 11 May 1989 15:03:18 +0000 (15:03 +0000)]
Ian Darwin [Thu, 11 May 1989 15:02:16 +0000 (15:02 +0000)]
Another new file for Ian's pd. file command magdir directory.
Ian Darwin [Thu, 11 May 1989 15:01:40 +0000 (15:01 +0000)]
Initial revision
Ian Darwin [Thu, 11 May 1989 15:01:05 +0000 (15:01 +0000)]
Ref to: magdir/Makefile - ADJUST THIS FOR YOUR CONFIGURATION
Ian Darwin [Thu, 11 May 1989 14:58:29 +0000 (14:58 +0000)]
Punt making /etc/magic file to subdirectory Makefile for
better configuration.
Ian Darwin [Wed, 23 Mar 1988 11:42:16 +0000 (11:42 +0000)]
exit code non-zero for case of "no files and no -f".
Ian Darwin [Sun, 28 Feb 1988 10:55:23 +0000 (10:55 +0000)]
Add Geoff's changes, and change "core file" to "core dump data".
Ian Darwin [Sun, 28 Feb 1988 10:50:50 +0000 (10:50 +0000)]
Read symbolic links using readlink(2) - code from Peter Collinson,
Univ of Kent, Canterbury, UK. <ukc.ac.uk!pc>
Ian Darwin [Tue, 16 Feb 1988 09:24:18 +0000 (09:24 +0000)]
Incorporate (and sanitize) ksh stuff from George Wu.
Ian Darwin [Tue, 16 Feb 1988 09:22:02 +0000 (09:22 +0000)]
squeeze and crunch formats, from Keith Waclena.
Ian Darwin [Tue, 16 Feb 1988 09:20:28 +0000 (09:20 +0000)]
Add magic for Larry Wall's "perl" language.
Ian Darwin [Tue, 16 Feb 1988 09:19:39 +0000 (09:19 +0000)]
Add Rahul Dhesi's "zoo" archive format from Keith Waclena, and some comments.
Ian Darwin [Tue, 16 Feb 1988 09:11:20 +0000 (09:11 +0000)]
Add 495 printer and SoftQuad raster formats.
Ian Darwin [Fri, 12 Feb 1988 16:13:19 +0000 (16:13 +0000)]
Add some intermediate file values.
Ian Darwin [Thu, 12 Nov 1987 13:11:06 +0000 (13:11 +0000)]
Print a file name for standard input as well as filename case.
Ian Darwin [Thu, 12 Nov 1987 13:00:24 +0000 (13:00 +0000)]
Don't print ": " if progname is somehow trashed.
Ian Darwin [Thu, 12 Nov 1987 12:57:50 +0000 (12:57 +0000)]
Handle case where read of HOWMANY from file returns zero!
Ian Darwin [Sun, 8 Nov 1987 23:03:41 +0000 (23:03 +0000)]
Be more charitable and more equitable.