OpenBSD CVS

CVS log for src/usr.bin/file/Attic/print.c


[BACK] Up to [local] / src / usr.bin / file

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18, Fri Apr 24 16:24:11 2015 UTC (9 years ago) by nicm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED

New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt

Revision 1.17 / (download) - annotate - [select for diffs], Wed Apr 17 15:01:26 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

variety of fixes to correct large time_t code.  it is quite broken upstream.
ok chl

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:37 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 24 18:54:34 2009 UTC (15 years ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.14: +19 -7 lines
Diff to previous 1.14 (colored)

file update to 4.24

The '-i' switch is now enabled so file(1) can output mime type strings.

ok ian@
builk ports build test on amd64 by jasper@

ok ray@ gilles@ on a almost identical diff
builk ports build test on sparc64 on this almost identical diff by ajacoutot@
also tested by landry@

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 8 01:40:56 2008 UTC (16 years ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.13: +76 -37 lines
Diff to previous 1.13 (colored)

Update file to 4.21.

tested by ian@ sthen@

OK ian@, "move ahead with it" deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 14 14:29:20 2007 UTC (16 years, 8 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

remove some warnings:
unused variable `variable'
`variable' might be used uninitialized in this function

ok gilles@ ray@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 11 15:47:17 2007 UTC (16 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.11: +3 -4 lines
Diff to previous 1.11 (colored)

use strcspn to properly overwrite '\n' in fgets returned buffer

ok pyr@, ray@, millert@, moritz@, chl@

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 19 02:32:35 2004 UTC (20 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.10: +124 -83 lines
Diff to previous 1.10 (colored)

big update to file 4.09.  ok ian@

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 13 18:31:14 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored)

ian gives permission for 3/4 removal

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 02:14:16 2003 UTC (21 years, 2 months ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.7: +13 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull patch from current.
Fix by ian@
Bring in readelf.c from Christos' version 3.41 to head off a local
stack attack noted by iDefense, and for more complete 64-bit ELF support.
Add hand-made config.h to avoid running configure but still be able
to use Christos' code.  In print.c add error(...)-->err(1,...) wrapper.
Tested on i386, sparc64, macppc.

ok millert@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 11 21:26:26 2003 UTC (21 years, 2 months ago) by ian
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.8: +32 -24 lines
Diff to previous 1.8 (colored)

Replace TPUM license with standard BSD-style license

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 3 22:24:08 2003 UTC (21 years, 2 months ago) by ian
Branch: MAIN
Changes since 1.7: +13 -2 lines
Diff to previous 1.7 (colored)

Bring in readelf.c from Christos' version 3.41 to head off a local
stack attack noted by iDefense, and for more complete 64-bit ELF support.
Add hand-made config.h to avoid running configure but still be able
to use Christos' code.  In print.c add error(...)-->err(1,...) wrapper.
Tested on i386, sparc64, macppc.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:38 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_1_BASE, OPENBSD_3_1
Branch point for: OPENBSD_3_2
Changes since 1.6: +4 -20 lines
Diff to previous 1.6 (colored)

We live in an ANSI C world.  Remove lots of gratuitous #ifdef __STDC__ cruft.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 10 15:05:25 1998 UTC (25 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.5: +5 -62 lines
Diff to previous 1.5 (colored)

err/warn

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 24 18:33:12 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

64bit fix: don't mix long & int.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:26 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 9 23:58:32 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +6 -5 lines
Diff to previous 1.2 (colored)

Updates file(1) to version 3.22 by way to NetBSD.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:33:00 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:09 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:09 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.