]> granicus.if.org Git - file/log
file
28 years agorename microsoft to xenix
Christos Zoulas [Wed, 15 Jan 1997 19:33:09 +0000 (19:33 +0000)]
rename microsoft to xenix

28 years ago\fix typos
Christos Zoulas [Wed, 15 Jan 1997 19:28:35 +0000 (19:28 +0000)]
\fix typos

28 years agoInitial revision
Christos Zoulas [Wed, 15 Jan 1997 17:25:04 +0000 (17:25 +0000)]
Initial revision

28 years ago- add support for elf core files: find the program name under SVR4 [Ken Pizzini]
Christos Zoulas [Wed, 15 Jan 1997 17:23:24 +0000 (17:23 +0000)]
- add support for elf core files: find the program name under SVR4 [Ken Pizzini]
- print strings only up to the first carriage return [various]
- freebsd international ascii support [J Wunsch]
- magic fixes and additions [Guy Harris]
- 64 bit fixes [Larry Schwimmer]
- support for both utime and utimes, but don't restore file access times
  by default [various]
- \xXX only takes 2 hex digits, not 3.
- re-implement support for core files [Guy Harris]

28 years ago*** empty log message ***
Christos Zoulas [Wed, 15 Jan 1997 17:13:09 +0000 (17:13 +0000)]
*** empty log message ***

28 years agoInitial revision
Christos Zoulas [Thu, 2 Jan 1997 07:06:48 +0000 (07:06 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Thu, 2 Jan 1997 07:06:48 +0000 (07:06 +0000)]
*** empty log message ***

28 years ago*** empty log message ***
Christos Zoulas [Thu, 2 Jan 1997 04:44:22 +0000 (04:44 +0000)]
*** empty log message ***

28 years agoremove regex
Christos Zoulas [Thu, 2 Jan 1997 02:36:28 +0000 (02:36 +0000)]
remove regex

28 years ago*** empty log message ***
Christos Zoulas [Thu, 2 Jan 1997 01:34:13 +0000 (01:34 +0000)]
*** empty log message ***

28 years agoInitial revision
Christos Zoulas [Thu, 2 Jan 1997 01:26:07 +0000 (01:26 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Thu, 2 Jan 1997 01:26:07 +0000 (01:26 +0000)]
*** empty log message ***

28 years agoInitial revision
Christos Zoulas [Thu, 2 Jan 1997 01:14:53 +0000 (01:14 +0000)]
Initial revision

28 years agoadded international.c
Christos Zoulas [Mon, 16 Dec 1996 03:33:34 +0000 (03:33 +0000)]
added international.c

28 years agoLittle endia
Christos Zoulas [Thu, 31 Oct 1996 16:02:59 +0000 (16:02 +0000)]
Little endia

28 years agoEat the return properly in printing strings.
Christos Zoulas [Fri, 25 Oct 1996 19:50:35 +0000 (19:50 +0000)]
Eat the return properly in printing strings.

28 years agoInitial revision
Christos Zoulas [Fri, 25 Oct 1996 18:12:17 +0000 (18:12 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Fri, 25 Oct 1996 18:12:17 +0000 (18:12 +0000)]
*** empty log message ***

28 years agoAdded core file for efl
Christos Zoulas [Fri, 25 Oct 1996 18:11:51 +0000 (18:11 +0000)]
Added core file for efl

28 years agoFixes from Chris Demetriou
Christos Zoulas [Sat, 5 Oct 1996 18:16:34 +0000 (18:16 +0000)]
Fixes from Chris Demetriou

28 years agoSegregate elf stuff and conditionally enable it with -DBUILTIN_ELF
Christos Zoulas [Sat, 5 Oct 1996 18:15:29 +0000 (18:15 +0000)]
Segregate elf stuff and conditionally enable it with -DBUILTIN_ELF
More magic fixes

28 years agoSegregate elf stuff.
Christos Zoulas [Sat, 5 Oct 1996 18:13:57 +0000 (18:13 +0000)]
Segregate elf stuff.

28 years agoInitial revision
Christos Zoulas [Sat, 5 Oct 1996 18:13:09 +0000 (18:13 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Sat, 5 Oct 1996 18:13:09 +0000 (18:13 +0000)]
*** empty log message ***

28 years agoadd bzip
Christos Zoulas [Thu, 12 Sep 1996 14:05:09 +0000 (14:05 +0000)]
add bzip

28 years agocore files
Christos Zoulas [Tue, 20 Aug 1996 01:53:12 +0000 (01:53 +0000)]
core files

28 years agonew magic
Christos Zoulas [Tue, 20 Aug 1996 01:52:00 +0000 (01:52 +0000)]
new magic

28 years agoInitial revision
Christos Zoulas [Tue, 20 Aug 1996 01:52:00 +0000 (01:52 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Tue, 20 Aug 1996 01:51:40 +0000 (01:51 +0000)]
*** empty log message ***

28 years ago.s
Christos Zoulas [Fri, 12 Jul 1996 13:22:51 +0000 (13:22 +0000)]
.s

28 years ago*** empty log message ***
Christos Zoulas [Mon, 24 Jun 1996 14:58:59 +0000 (14:58 +0000)]
*** empty log message ***

28 years ago- support relative offsets of the form >&
Christos Zoulas [Sat, 22 Jun 1996 22:15:52 +0000 (22:15 +0000)]
- support relative offsets of the form >&
- fix bug with truncating magic strings that contain \n
- file -f - did not read from stdin as documented
- support elf file parsing using our own elf support.
- as always magdir fixes and additions.

28 years agoInitial revision
Christos Zoulas [Sat, 22 Jun 1996 22:11:05 +0000 (22:11 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Sat, 22 Jun 1996 22:11:05 +0000 (22:11 +0000)]
*** empty log message ***

28 years agoInitial revision
Christos Zoulas [Sat, 22 Jun 1996 22:04:22 +0000 (22:04 +0000)]
Initial revision

28 years ago*** empty log message ***
Christos Zoulas [Sat, 22 Jun 1996 22:04:22 +0000 (22:04 +0000)]
*** empty log message ***

28 years ago*** empty log message ***
Christos Zoulas [Sat, 22 Jun 1996 22:04:22 +0000 (22:04 +0000)]
*** empty log message ***

28 years ago*** empty log message ***
Christos Zoulas [Sun, 17 Mar 1996 20:52:31 +0000 (20:52 +0000)]
*** empty log message ***

29 years agoAbility to parse colon separated list of magic files
Christos Zoulas [Fri, 27 Oct 1995 23:14:46 +0000 (23:14 +0000)]
Ability to parse colon separated list of magic files
New LEGAL.NOTICE
Various magic file changes

29 years ago*** empty log message ***
Christos Zoulas [Fri, 27 Oct 1995 23:12:33 +0000 (23:12 +0000)]
*** empty log message ***

29 years agoAdded colon separated list of magic files
Christos Zoulas [Fri, 27 Oct 1995 23:12:01 +0000 (23:12 +0000)]
Added colon separated list of magic files

29 years agoadded gdbm
Christos Zoulas [Wed, 25 Oct 1995 16:11:11 +0000 (16:11 +0000)]
added gdbm

29 years agols
Christos Zoulas [Sun, 28 May 1995 20:31:44 +0000 (20:31 +0000)]
ls

29 years ago3.18
Christos Zoulas [Sat, 20 May 1995 22:13:39 +0000 (22:13 +0000)]
3.18

29 years ago*** empty log message ***
Christos Zoulas [Sat, 20 May 1995 22:09:44 +0000 (22:09 +0000)]
*** empty log message ***

29 years agoPassed incorrect argument to eatsize().
Christos Zoulas [Sat, 20 May 1995 22:09:21 +0000 (22:09 +0000)]
Passed incorrect argument to eatsize().
Use %ld and %lx where appropriate.
Remove unused variables
ELF support for both big and little endian
Fixes for small files again.

29 years ago*** empty log message ***
Christos Zoulas [Fri, 28 Apr 1995 19:13:08 +0000 (19:13 +0000)]
*** empty log message ***

29 years ago- Incorrect nroff detection fix from der Mouse
Christos Zoulas [Fri, 28 Apr 1995 17:29:13 +0000 (17:29 +0000)]
- Incorrect nroff detection fix from der Mouse
- Lost and incorrect magic entries.
- Added ELF stripped binary detection [in C; ugh]
- Look for $MAGIC to find the magic file.
- Eat trailing size specifications from numbers i.e. ignore 10L
- More fixes for very short files

29 years ago*** empty log message ***
Christos Zoulas [Fri, 28 Apr 1995 17:28:38 +0000 (17:28 +0000)]
*** empty log message ***

29 years ago*** empty log message ***
Christos Zoulas [Mon, 17 Apr 1995 15:37:24 +0000 (15:37 +0000)]
*** empty log message ***

29 years ago*** empty log message ***
Christos Zoulas [Sat, 25 Mar 1995 22:23:01 +0000 (22:23 +0000)]
*** empty log message ***

29 years ago- use strtoul() where it exists.
Christos Zoulas [Sat, 25 Mar 1995 22:06:45 +0000 (22:06 +0000)]
- use strtoul() where it exists.
- fix sign-extend bug
- try to detect tar archives before nroff files, otherwise
  tar files where the first file starts with a . will not work

29 years ago3.16
Christos Zoulas [Sat, 25 Mar 1995 22:04:56 +0000 (22:04 +0000)]
3.16

29 years agoz
Christos Zoulas [Wed, 22 Mar 1995 19:16:18 +0000 (19:16 +0000)]
z

30 years ago*** empty log message ***
Christos Zoulas [Sat, 21 Jan 1995 21:14:25 +0000 (21:14 +0000)]
*** empty log message ***

30 years agobump version
Christos Zoulas [Sat, 21 Jan 1995 21:10:47 +0000 (21:10 +0000)]
bump version

30 years ago3.15
Christos Zoulas [Sat, 21 Jan 1995 21:09:00 +0000 (21:09 +0000)]
3.15

30 years agoAdded CSECTION for the file man page
Christos Zoulas [Sat, 21 Jan 1995 21:03:35 +0000 (21:03 +0000)]
Added CSECTION for the file man page
Added version flag -v
Fixed bug with -f input flag (from iorio@violet.berkeley.edu)
Lots of magic fixes and reorganization...

30 years ago*** empty log message ***
Christos Zoulas [Fri, 9 Dec 1994 00:00:52 +0000 (00:00 +0000)]
*** empty log message ***

30 years agoInitial revision
Christos Zoulas [Tue, 18 Oct 1994 17:49:04 +0000 (17:49 +0000)]
Initial revision

30 years ago*** empty log message ***
Christos Zoulas [Tue, 18 Oct 1994 17:49:04 +0000 (17:49 +0000)]
*** empty log message ***

30 years agoInitial revision
Christos Zoulas [Mon, 17 Oct 1994 01:22:38 +0000 (01:22 +0000)]
Initial revision

30 years agomore unsigned fixes.
Christos Zoulas [Mon, 6 Jun 1994 05:27:29 +0000 (05:27 +0000)]
more unsigned fixes.

30 years agofrom netbsd distribution
Christos Zoulas [Mon, 6 Jun 1994 05:24:23 +0000 (05:24 +0000)]
from netbsd distribution

30 years agoFixes From: <u31b3hs@pool.informatik.rwth-aachen.de> (Michael Haardt)
Christos Zoulas [Mon, 6 Jun 1994 05:24:23 +0000 (05:24 +0000)]
Fixes From: <u31b3hs@pool.informatik.rwth-aachen.de> (Michael Haardt)

30 years agochanges from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned
Christos Zoulas [Tue, 3 May 1994 17:58:23 +0000 (17:58 +0000)]
changes from mycroft@gnu.ai.mit.edu (Charles Hannum) for unsigned

30 years ago*** empty log message ***
Christos Zoulas [Tue, 3 May 1994 17:57:59 +0000 (17:57 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Christos Zoulas [Fri, 21 Jan 1994 01:38:24 +0000 (01:38 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Christos Zoulas [Fri, 21 Jan 1994 01:28:18 +0000 (01:28 +0000)]
*** empty log message ***

31 years agoFixed null termination bug from Don Seeley at BSDI in ascmagic.c
Christos Zoulas [Fri, 21 Jan 1994 01:27:01 +0000 (01:27 +0000)]
Fixed null termination bug from Don Seeley at BSDI in ascmagic.c

31 years agoBug fix from Don Seeley at BSDI. make sure that the string is
Christos Zoulas [Fri, 21 Jan 1994 01:25:30 +0000 (01:25 +0000)]
Bug fix from Don Seeley at BSDI. make sure that the string is
null terminated before calling strtok.

31 years ago*** empty log message ***
Christos Zoulas [Sun, 7 Nov 1993 03:50:05 +0000 (03:50 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Christos Zoulas [Wed, 27 Oct 1993 21:00:54 +0000 (21:00 +0000)]
*** empty log message ***

31 years agoChanged -z flag to understand gzip format too.
Christos Zoulas [Wed, 27 Oct 1993 20:59:05 +0000 (20:59 +0000)]
Changed -z flag to understand gzip format too.
Moved builtin compression detection to a table, and move
the compress magic entry out of the source.
Made printing of numbers unsigned, and added the mask to it.
Changed the buffer size to 8k, because gzip will refuse to
unzip just a few bytes.

31 years ago*** empty log message ***
Christos Zoulas [Mon, 11 Oct 1993 20:46:51 +0000 (20:46 +0000)]
*** empty log message ***

31 years agofixed man pages stuff.
Christos Zoulas [Fri, 24 Sep 1993 18:51:03 +0000 (18:51 +0000)]
fixed man pages stuff.

31 years agochanged the address to send magic entries
Christos Zoulas [Fri, 24 Sep 1993 18:50:48 +0000 (18:50 +0000)]
changed the address to send magic entries

31 years agoFixed small bug in softmagic.c introduced by
Christos Zoulas [Fri, 24 Sep 1993 18:49:06 +0000 (18:49 +0000)]
Fixed small bug in softmagic.c introduced by
copying the data to be examined out of the input
buffer. Changed the Makefile to use sed to create
the correct man pages.

31 years ago*** empty log message ***
Christos Zoulas [Fri, 24 Sep 1993 18:47:48 +0000 (18:47 +0000)]
*** empty log message ***

31 years agoPassed purify. Fixed indirections. Fixed byte order printing.
Christos Zoulas [Thu, 23 Sep 1993 21:56:23 +0000 (21:56 +0000)]
Passed purify. Fixed indirections. Fixed byte order printing.
Fixed segmentation faults caused by referencing past the end
of the magic buffer. Fixed bus errors caused by referencing
unaligned shorts or longs.

31 years agoChanged tar{,get}
Christos Zoulas [Thu, 23 Sep 1993 21:55:36 +0000 (21:55 +0000)]
Changed tar{,get}

31 years agoInitial revision
Christos Zoulas [Thu, 23 Sep 1993 21:48:43 +0000 (21:48 +0000)]
Initial revision

31 years ago*** empty log message ***
Christos Zoulas [Thu, 23 Sep 1993 21:47:01 +0000 (21:47 +0000)]
*** empty log message ***

31 years agomajor overhaul
Christos Zoulas [Thu, 23 Sep 1993 20:26:40 +0000 (20:26 +0000)]
major overhaul

31 years ago*** empty log message ***
Christos Zoulas [Thu, 23 Sep 1993 20:26:25 +0000 (20:26 +0000)]
*** empty log message ***

31 years agoFixed small parsing bug in apprentice.c
Christos Zoulas [Thu, 23 Sep 1993 20:19:42 +0000 (20:19 +0000)]
Fixed small parsing bug in apprentice.c

31 years agomore alignment error fixes
Christos Zoulas [Thu, 23 Sep 1993 18:31:14 +0000 (18:31 +0000)]
more alignment error fixes

31 years agochanged assignment to short and long to a memcpy to avoid alignment
Christos Zoulas [Thu, 23 Sep 1993 18:24:45 +0000 (18:24 +0000)]
changed assignment to short and long to a memcpy to avoid alignment
bus errors

31 years agoadded the word 'text' to the awk scripts.
Christos Zoulas [Thu, 23 Sep 1993 17:59:51 +0000 (17:59 +0000)]
added the word 'text' to the awk scripts.

31 years agoadded entry for pc broken postscript files that start with ^D
Christos Zoulas [Thu, 23 Sep 1993 17:59:17 +0000 (17:59 +0000)]
added entry for pc broken postscript files that start with ^D

31 years agoremoved gzip entry. There is a gzip file now
Christos Zoulas [Thu, 23 Sep 1993 17:58:57 +0000 (17:58 +0000)]
removed gzip entry. There is a gzip file now

31 years agoadded core formats
Christos Zoulas [Thu, 23 Sep 1993 17:53:34 +0000 (17:53 +0000)]
added core formats

31 years agoAdded printing for dates, and fixed the output format.
Christos Zoulas [Thu, 16 Sep 1993 21:15:59 +0000 (21:15 +0000)]
Added printing for dates, and fixed the output format.

31 years agoFixed last NULL entry to avoid gcc warnings.
Christos Zoulas [Thu, 16 Sep 1993 21:14:20 +0000 (21:14 +0000)]
Fixed last NULL entry to avoid gcc warnings.

31 years agoAdded more debugging information, and made existing
Christos Zoulas [Thu, 16 Sep 1993 21:12:08 +0000 (21:12 +0000)]
Added more debugging information, and made existing
debugging printing to go to stderr. Added limit counts
to all functions to avoid spurious core-dumps.

31 years agoIs_tar now takes the length in bytes of the buffer to be
Christos Zoulas [Thu, 16 Sep 1993 21:09:35 +0000 (21:09 +0000)]
Is_tar now takes the length in bytes of the buffer to be
tested.

31 years agoFixed prototypes.
Christos Zoulas [Thu, 16 Sep 1993 21:08:06 +0000 (21:08 +0000)]
Fixed prototypes.

31 years agofixed references to unitialized memory.
Christos Zoulas [Thu, 16 Sep 1993 21:06:33 +0000 (21:06 +0000)]
fixed references to unitialized memory.

31 years agoUse calloc() to allocate magic entries to avoid unitialized
Christos Zoulas [Thu, 16 Sep 1993 20:49:29 +0000 (20:49 +0000)]
Use calloc() to allocate magic entries to avoid unitialized
memory spurious errors. Change showstr to print to a file
and the ability to print both counted and null terminated strings

31 years agooff by one in nbytes
Christos Zoulas [Thu, 16 Sep 1993 20:45:46 +0000 (20:45 +0000)]
off by one in nbytes