OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.70 / (download) - annotate - [select for diffs], Tue Jan 16 13:07:29 2024 UTC (4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

Use imsg_get_fd() and adjust cleanup code accordingly.
OK nicm@

Revision 1.69 / (download) - annotate - [select for diffs], Sat Nov 30 14:01:45 2019 UTC (4 years, 5 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.68: +4 -1 lines
Diff to previous 1.68 (colored)

After fork(2) the pledge(2) in the parent proc can be reduced to
"stdio rpath sendfd" so that it can call {l,}stat/open and sendfd for imsg_*
in order to send fds to the child proc which is already pledged by recvfd to
receive them

OK brynet@ deraadt@

Revision 1.68 / (download) - annotate - [select for diffs], Tue Feb 5 02:17:32 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

dev_t is signed to permit passing -1 as an invalid condition, but the
decomposition into major and minor is unsigned, so we should print them
with %u instead of %d.
ok guenther

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jan 6 18:35:19 2019 UTC (5 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.66: +4 -1 lines
Diff to previous 1.66 (colored)

the parent process doesn't do much but open files, but just the same
there's no reason it can't use pledge to enforce that.
ok brynet deraadt

Revision 1.66 / (download) - annotate - [select for diffs], Mon Jan 15 19:45:51 2018 UTC (6 years, 4 months ago) by brynet
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.65: +239 -109 lines
Diff to previous 1.65 (colored)

Revert my changes in r1.60 back to nicm@'s latest for now.

Fixes "file *|grep" breakage reported by espie@

ok nicm, deraadt

Revision 1.65 / (download) - annotate - [select for diffs], Thu Nov 30 11:10:07 2017 UTC (6 years, 5 months ago) by bentley
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Default unknowns to application/octet-stream instead of x-not-regular-file.

This makes more sense and matches what the latest "other" file(1) now does.

ok nicm@

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 1 21:07:13 2017 UTC (6 years, 10 months ago) by brynet
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored)

close open fd after testing files, ensuring that fd isn't stdin.

ok nicm@

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 28 17:14:15 2017 UTC (6 years, 10 months ago) by brynet
Branch: MAIN
Changes since 1.62: +6 -2 lines
Diff to previous 1.62 (colored)

Fix stdin file read support, accidentally broken in my last commit.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 28 15:42:49 2017 UTC (6 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.61: +1 -6 lines
Diff to previous 1.61 (colored)

remove excess #include

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jun 28 15:40:54 2017 UTC (6 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.60: +6 -4 lines
Diff to previous 1.60 (colored)

perform an initial pledge very early on, and drop tzset to later.
ok nicm brynet

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jun 28 13:37:56 2017 UTC (6 years, 10 months ago) by brynet
Branch: MAIN
Changes since 1.59: +100 -234 lines
Diff to previous 1.59 (colored)

Simplify file(1) by removing the no longer necessary parent/child separation
and just drop privileges in the main process.

Also allows for a tighter "stdio" pledge.

passing regress tests still pass

ok nicm@ with helpful feedback

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 18 14:16:48 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.58: +6 -9 lines
Diff to previous 1.58 (colored)

Style nits; no binary change.

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 1 20:34:26 2016 UTC (8 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.57: +9 -5 lines
Diff to previous 1.57 (colored)

Tidy up some #include lines.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 24 11:45:34 2015 UTC (8 years, 4 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.56: +6 -4 lines
Diff to previous 1.56 (colored)

Add --brief and --dereference, used by xdg-open/xdg-mime.

From Ralf Horstmann, ok tb@ deraadt@ nicm@ sthen@

Revision 1.56 / (download) - annotate - [select for diffs], Sat Dec 5 13:18:09 2015 UTC (8 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

EAGAIN handling for imsg_read. OK henning@ benno@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 13 08:32:10 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.54: +47 -39 lines
Diff to previous 1.54 (colored)

Break the message preparation bit of the main loop into its own function
for less excessive level of indentation.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 13 08:30:18 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.53: +29 -27 lines
Diff to previous 1.53 (colored)

Call stat not lstat with -L, makes links actually be followed. Reported
by and ok semarie@.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Oct 17 04:41:37 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

The file(1) magic-parsing process was using pledge "stdio getpw proc recvfd"
early on, then a set of getpwnam/setresuid/... before quickly dropping to
"stdio recvfd".  It receives fd's and runs the magic code on them in a
chroot'd "stdio" jail.  We can do better than that.

Before the recent change, "proc" contained both the concepts of "forking"
and "setuid".  "id" is now split out as a seperate request, and it is
exactly what this process needs momentarily.  So this loses another window
of opportunity, in case we have a major bug in .... hmm, it'd have to be
in getpwnam....

ok tedu doug semarie gilles

Revision 1.52 / (download) - annotate - [select for diffs], Fri Oct 9 01:37:07 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.51: +6 -6 lines
Diff to previous 1.51 (colored)

Change all tame callers to namechange to pledge(2).

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 6 15:39:44 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on which
way the process moves fd's.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Oct 5 06:23:34 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

use the normal -1 check for tame failure

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 4 07:25:59 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.48: +42 -8 lines
Diff to previous 1.48 (colored)

Add tame(2) to file(1) and drop the old systrace(4) sandbox. tame(2) is
only applied to the child process, which requires the parent to not pass
directory file descriptors (tame("cmsg") does not allow it). Because
file(1) is already privsep, the permissions in the child can be quickly
restricted: first to "stdio cmsg getpw proc" then after the privdrop to
"stdio cmsg".

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 2 18:06:27 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

use limits.h instead of sys/param.h to get PATH_MAX

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 12 09:51:25 2015 UTC (8 years, 10 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Keep one byte for terminating '\0'.

ok nicm@

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 8 17:49:45 2015 UTC (8 years, 10 months ago) by tobias
Branch: MAIN
Changes since 1.45: +5 -4 lines
Diff to previous 1.45 (colored)

Properly handle files >= 4 GB on 32 bit architectures.

with input by and ok nicm@

Revision 1.45 / (download) - annotate - [select for diffs], Sat May 30 06:25:35 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.44: +16 -4 lines
Diff to previous 1.44 (colored)

Support - to read from stdin, from Sebastien Marie.

Revision 1.44 / (download) - annotate - [select for diffs], Fri May 29 15:58:34 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

millert points out I can just call tzset() early to avoid having to
permit access() in the child.

Revision 1.43 / (download) - annotate - [select for diffs], Fri May 29 12:33:41 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.42: +20 -18 lines
Diff to previous 1.42 (colored)

Only mmap() on regular files; mmap() on /dev/stdin will happily map as
much as we ask for but only the first page will be usable. (We could get
the actual size with ioctl(FIONREAD) and mmap() that but it would need
to be done in the parent - I think just using read() is simpler.)

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 29 11:59:01 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.41: +9 -6 lines
Diff to previous 1.41 (colored)

Make things a little less confusing by making fill_buffer self-contained
and return both the buffer and amount filled rather than having it
modify the input struct and return a value.

Revision 1.41 / (download) - annotate - [select for diffs], Fri May 29 11:03:37 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

If reading into buffer, correct the stored file size at EOF, we don't
want to look at any garbage that might already be in the buffer after
that. From Sebastien Marie.

Revision 1.40 / (download) - annotate - [select for diffs], Fri May 29 07:30:28 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.39: +1 -3 lines
Diff to previous 1.39 (colored)

Silently fall back to /etc/magic if ~/.magic can't be opened, ok deraadt stsp

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 28 19:26:37 2015 UTC (8 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

probably makes more sense to show "file" as being mandatory;
from sebastien marie

Revision 1.38 / (download) - annotate - [select for diffs], Mon May 18 11:57:52 2015 UTC (9 years ago) by deraadt
Branch: MAIN
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored)

No longer need tricks with setvbuf().  Instead, we just give permission
to call fstat() and fcntl().
ok nicm

Revision 1.37 / (download) - annotate - [select for diffs], Tue Apr 28 02:26:43 2015 UTC (9 years ago) by lteo
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Add a missing free in the error path.

ok nicm@

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 27 13:52:17 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.35: +4 -18 lines
Diff to previous 1.35 (colored)

Use a systrace(4) sandbox with a short whitelist of allowed syscalls for
the file(1) child process. Based on similar code in ssh sandbox-systrace.c.
Idea and help from deraadt@.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 27 13:41:45 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.34: +246 -118 lines
Diff to previous 1.34 (colored)

Add simple privilege separation to file(1). Two processes, file
descriptors and a few other bits are opened in parent and passed to
child using imsg. Child currently drops to "nobody" but this will change.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 26 22:51:32 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.33: +7 -15 lines
Diff to previous 1.33 (colored)

Don't support -s on FIFOs, it doesn't work well and the workarounds are
a bit horrible.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 26 19:53:50 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

stat() the original link path not the resolved one which may be relative.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 24 17:34:57 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.31: +19 -17 lines
Diff to previous 1.31 (colored)

Do not attempt to use ~/.magic if running as root (or issetugid()).

Revision 1.31 / (download) - annotate - [select for diffs], Fri Apr 24 17:10:50 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.30: +17 -8 lines
Diff to previous 1.30 (colored)

We need to loop over the files once to work out the width of the labels
before testing them.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 24 16:47:32 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.29: +14 -26 lines
Diff to previous 1.29 (colored)

Trying to drop privileges means we can't handle ARG_MAX arguments, so
remove it for now.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 24 16:30:06 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Use symbolic constants for st_mode flags, no binary change.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 24 16:28:00 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.27: +5 -1 lines
Diff to previous 1.27 (colored)

If ~/.magic exists but can't be used, fail rather than silently falling
back to /etc/magic.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 24 16:24:11 2015 UTC (9 years ago) by nicm
Branch: MAIN
Changes since 1.26: +436 -398 lines
Diff to previous 1.26 (colored)

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.26 / (download) - annotate - [select for diffs], Fri Jan 16 18:08:15 2015 UTC (9 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.25: +2 -5 lines
Diff to previous 1.25 (colored)

Add missing <limits.h> to file.c and remove definition of PATH_MAX
which masked the missing include.  OK deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 16 08:24:04 2015 UTC (9 years, 4 months ago) by doug
Branch: MAIN
Changes since 1.24: +4 -5 lines
Diff to previous 1.24 (colored)

Replace <sys/param.h> with <limits.h>

This patch is from Theo.  I helped verify that removing <sys/param.h>
doesn't change anything.

This produces the same binaries before and after with clang 3.5 and gcc
4.9.4 on amd64.  There is a slight difference in the way it is generated by
our old gcc 4.2.1 despite the fact that the preprocessed input is almost
identical.

ok deraadt@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 16 05:46:44 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

If MAXPATHLEN is undefined, do not set it to 512. Dangerous.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 15 16:05:34 2011 UTC (13 years, 1 month ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, 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
Changes since 1.22: +7 -3 lines
Diff to previous 1.22 (colored)

Make the file_mbswidth() function cope if wcwidth() returns -1.
ok mikeb millert

Revision 1.22 / (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_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Mon Oct 26 21:03:55 2009 UTC (14 years, 6 months ago) by ajacoutot
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Fix usage;  requested by jmc@

ok jmc@ ian@

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 27 16:26:43 2009 UTC (14 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +6 -5 lines
Diff to previous 1.19 (colored)

Appease gcc2 (I wish people would write in C, rather than "latest crap
gcc added")
ok millert miod

Revision 1.19 / (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.18: +59 -155 lines
Diff to previous 1.18 (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.18 / (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.17: +94 -41 lines
Diff to previous 1.17 (colored)

Update file to 4.21.

tested by ian@ sthen@

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

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 19 13:02:08 2007 UTC (17 years, 3 months ago) by tom
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.16: +3 -8 lines
Diff to previous 1.16 (colored)

Our version of file(1) doesn't have the MIME magic file, so remove
references to -i/--mime and no longer accept them on the command line.
Update the HISTORY section to be less confusing.

Based on a diff to tech@ by Mikolaj Kucharski, mikolaj (dot) kucharski
(at) gmail (dot) com.

Prompted by jmc@; input from and ok jmc@ and otto@

Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 4 19:55:12 2004 UTC (19 years, 5 months ago) by jaredy
Branch: MAIN
CVS Tags: 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
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

sync manual and usage to file-4.09; bits from and ok ian and jmc

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 25 09:19:35 2004 UTC (19 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

tidy buffer sizes, from Alexander Farber, PR 3924. ok tedu@

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 19 02:32:35 2004 UTC (20 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.13: +358 -232 lines
Diff to previous 1.13 (colored)

big update to file 4.09.  ok ian@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 2 21:04:09 2003 UTC (20 years, 10 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.12: +3 -5 lines
Diff to previous 1.12 (colored)

protos

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

ian gives permission for 3/4 removal

Revision 1.11 / (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.10: +33 -24 lines
Diff to previous 1.10 (colored)

Replace TPUM license with standard BSD-style license

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 15 13:30:17 2002 UTC (21 years, 5 months ago) by henning
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

more writable spelling; torh

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 29 00:27:03 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.8: +10 -6 lines
Diff to previous 1.8 (colored)

Add -b flag (brief mode) like NetBSD and FreeBSD; Ibrahim Khalifa

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:46 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 19 00:28:37 1999 UTC (25 years, 3 months ago) by deraadt
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
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored)

broken usage line

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 10 15:05:20 1998 UTC (25 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.5: +12 -20 lines
Diff to previous 1.5 (colored)

err/warn

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 9 23:58:22 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +121 -64 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 15 23:42:26 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

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

rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:30:03 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

update from netbsd

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.