Home | History | Annotate | Download | only in mtree
History log of /src/usr.sbin/mtree/excludes.c
RevisionDateAuthorComments
 1.13  20-Jun-2004  jmc Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
 1.12  17-Nov-2003  dbj branches: 1.12.2;
#include <util.h>
this is needed by fparseln on macos/darwin and is harmless on netbsd
 1.11  30-Nov-2002  lukem tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
 1.10  09-Apr-2002  bjh21 Don't use __RCSID unless it's defined.
 1.9  09-Apr-2002  thorpej Use __RCSID().
 1.8  31-Jan-2002  tv Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
 1.7  29-Jan-2002  tv Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
 1.6  29-Jan-2002  lukem add <util.h> back in for native builds.
 1.5  29-Jan-2002  tv Add hooks to make mtree compilable from src/tools.
 1.4  11-Nov-2001  jmc Ugg...Turn LIST_FOREACH into a while loop around LIST_NEXT...

The *_FOREACH macros got added post 1.5 and were pulled up into 1.5.2. This
makes it impossible to compile mtree local on a 1.5-release box as a cross
toolchain bit for bootstrapping to -current. (and why I never saw this problem
on my 1.5.2 machine)

This whole thing is solved via a compat lib for the tools for all netbsd bits
and/or trimming down a version of mtree to just the bits needed for building
the snapshots.
 1.3  10-Nov-2001  lukem replace <sys/time.h> with <time.h> (for consistency)
 1.2  07-Nov-2001  lukem - KNF & whitespace cleanup
- use fparseln() instead of fgetln()
 1.1  07-Nov-2001  lukem branches: 1.1.1;
Initial revision
 1.1.1.1  07-Nov-2001  lukem Code from FreeBSD to give mtree the ability to exclude items from its traversal
 1.12.2.1  22-Jun-2004  tron Pull up revision 1.13 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944

RSS XML Feed