History log of /openbsd-current/usr.sbin/mtree/mtree.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 11-Aug-2023 guenther

Stop down-converting to a timeval when comparing and setting times.
Replace use of the old BSD st_*timespec members in struct stat with
the POSIX-standard st_*tim members.

ok millert@


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.13 08-Jul-2012 naddy

Add support for the "sha256digest" keyword to create/compare
SHA-256 digests of files. In the man page, also replace SHA-1
with SHA-256 in the examples section.

Man page formatting tweak and ok schwarze@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.12 08-Oct-2008 kili

Correct exit codes for extra files. PR 5072.

Reminded by millert. ok millert, deraaadt


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 10-Aug-2005 millert

Call open(2) with O_NONBLOCK and O_NOFOLLOW to make sure mtree can't
be halted by a FIFO or special device.
Use fgetln() instead of fgets() to handle arbitrarily long lines.
If a line starts with a comment char, don't check for line continuation char.
Adapted from a diff by Solar Designer. OK deraadt@ henning@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.9 09-Mar-2002 millert

Rename the new 'preserve' flag to 'nochange' for consistency with FreeBSD.
The old 'preserve' name is still accepted but is not documented and will
be removed in the future.


# 1.8 04-Mar-2002 millert

Add a 'preserve' flag to tell mtree not to change the attributes of
a file/directory. This is useful when you want to update children
of a directory but not the parent.


Revision tags: OPENBSD_3_0_BASE
# 1.7 10-Aug-2001 millert

Add file flag support to mtree from henning@crackinghacking.de
with man page update and minor tweaks by me.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.6 18-Jul-1997 millert

Add rmd160 support. Sheesh, you'd think this was tripwire.


# 1.5 12-Jul-1997 millert

Add sha1 digest support.


Revision tags: OPENBSD_2_1_BASE
# 1.4 20-Dec-1996 millert

Add back "optional" keyword that got nuked in merge of FreeBSD mods.


# 1.3 10-Dec-1996 deraadt

merge freebsd mtree diffs, plus -Wall cleanup


# 1.2 08-Dec-1996 niklas

64-bit clean + RCS tags


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.13 08-Jul-2012 naddy

Add support for the "sha256digest" keyword to create/compare
SHA-256 digests of files. In the man page, also replace SHA-1
with SHA-256 in the examples section.

Man page formatting tweak and ok schwarze@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.12 08-Oct-2008 kili

Correct exit codes for extra files. PR 5072.

Reminded by millert. ok millert, deraaadt


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 10-Aug-2005 millert

Call open(2) with O_NONBLOCK and O_NOFOLLOW to make sure mtree can't
be halted by a FIFO or special device.
Use fgetln() instead of fgets() to handle arbitrarily long lines.
If a line starts with a comment char, don't check for line continuation char.
Adapted from a diff by Solar Designer. OK deraadt@ henning@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.9 09-Mar-2002 millert

Rename the new 'preserve' flag to 'nochange' for consistency with FreeBSD.
The old 'preserve' name is still accepted but is not documented and will
be removed in the future.


# 1.8 04-Mar-2002 millert

Add a 'preserve' flag to tell mtree not to change the attributes of
a file/directory. This is useful when you want to update children
of a directory but not the parent.


Revision tags: OPENBSD_3_0_BASE
# 1.7 10-Aug-2001 millert

Add file flag support to mtree from henning@crackinghacking.de
with man page update and minor tweaks by me.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.6 18-Jul-1997 millert

Add rmd160 support. Sheesh, you'd think this was tripwire.


# 1.5 12-Jul-1997 millert

Add sha1 digest support.


Revision tags: OPENBSD_2_1_BASE
# 1.4 20-Dec-1996 millert

Add back "optional" keyword that got nuked in merge of FreeBSD mods.


# 1.3 10-Dec-1996 deraadt

merge freebsd mtree diffs, plus -Wall cleanup


# 1.2 08-Dec-1996 niklas

64-bit clean + RCS tags


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision