Home | History | Annotate | only in /src/usr.bin/vgrind
History log of /src/usr.bin/vgrind
RevisionDateAuthorComments
 1.22 15-Jul-2014  christos first attempt at toolification.
 1.21 14-Apr-2009  lukem branches: 1.21.12; 1.21.22;
Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.20 23-Apr-2004  christos branches: 1.20.36;
constify, warns = 3
 1.19 21-Oct-2003  lukem Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.

* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
 1.18 19-Oct-2003  lukem support MAKEVERBOSE
 1.17 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.16 30-Jun-2003  wiz Adapt to new naming conventions for tmac files.
 1.15 18-May-2003  lukem Set CAP_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
overriding TARGET_ENDIANNESS.
 1.14 30-May-2002  itojun have bsd.endian.mk, which detects target endian.
generate *.db in target endian. (see tech-userlevel for discussions)
 1.13 30-May-2002  itojun comment; no need to care about endianness, as DB keys are ascii strings
(modulo possible DB lookup performance issue)
 1.12 31-Jan-2002  tv branches: 1.12.2;
Make it possible for cap_mkdb to be a host tool.
 1.11 23-Jan-2000  mycroft More .mk file fallout.
 1.10 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.9 27-Sep-1998  lukem don't install in /usr/share if NOSHARE is defined
 1.8 27-Mar-1997  mycroft Set SCRIPTSDIR.
 1.7 24-Mar-1997  christos - Makefile cleanups
 1.6 18-Oct-1996  thorpej Use ${INSTALL}.
 1.5 23-Dec-1994  pk Don't build .db file at install time.
 1.4 22-Dec-1994  cgd specify man pages the new way.
 1.3 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.12.2.2 30-May-2002  tv Pull up revision 1.14 (requested by itojun in ticket #100):
have bsd.endian.mk, which detects target endian.
generate *.db in target endian. (see tech-userlevel for discussions)
 1.12.2.1 30-May-2002  tv Pull up revision 1.13 (requested by itojun in ticket #100):
comment; no need to care about endianness, as DB keys are ascii strings
(modulo possible DB lookup performance issue)
 1.20.36.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.21.22.1 10-Aug-2014  tls Rebase.
 1.21.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8 24-Jan-2022  andvar s/begining/beginning/ in comments and messages.
 1.7 03-Sep-2016  sevan Remove K&R __P macros.
Remove main() function prototype if present.
Mark usage() as __dead if not already.
Binaries generated with & without these patches were compared with diff -r.
 1.6 15-Jul-2014  christos first attempt at toolification.
 1.5 23-Apr-2004  christos branches: 1.5.56; 1.5.68;
constify, warns = 3
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.3 19-Dec-1998  christos char -> unsigned char
_start -> x_start
_escaped -> x_escaped

_start is the start symbol in solaris libc!
 1.2 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.1 17-Nov-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.5.68.1 10-Aug-2014  tls Rebase.
 1.5.56.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5 15-Jul-2014  christos first attempt at toolification.
 1.4 07-Aug-2003  agc branches: 1.4.62; 1.4.74;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.3 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.4.74.1 10-Aug-2014  tls Rebase.
 1.4.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17 10-Aug-2025  andvar Fix few typos in comments.
 1.16 08-Dec-2024  andvar s/reurn/return/ in comment.
 1.15 12-Dec-2021  andvar branches: 1.15.4;
fix typos in word "operation(s)".
 1.14 27-Dec-2019  msaitoh s/expresion/expression/ in comment.
 1.13 15-Jul-2014  christos branches: 1.13.24;
first attempt at toolification.
 1.12 20-Mar-2012  matt branches: 1.12.2; 1.12.8;
Use C89 function definitions
 1.11 21-Jul-2008  lukem branches: 1.11.2;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.10 01-May-2006  christos branches: 1.10.22;
Need assert.h now.
 1.9 01-May-2006  christos Coverity CID 766: Add assertion before pointer deref.
 1.8 04-Nov-2004  dsl Add (unsigned char) cast to ctype functions
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.6 12-Jul-2003  itojun strlcpy, some KNF
 1.5 19-Dec-1998  christos char -> unsigned char
_start -> x_start
_escaped -> x_escaped

_start is the start symbol in solaris libc!
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.3 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.10.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.2.1 17-Apr-2012  yamt sync with head
 1.12.8.1 10-Aug-2014  tls Rebase.
 1.12.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.24.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.4.1 02-Aug-2025  perseant Sync with HEAD
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.19 24-Jan-2022  andvar s/begining/beginning/ in comments and messages.
 1.18 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.17 05-Sep-2016  sevan branches: 1.17.14;
Drop main() prototype.
 1.16 11-Sep-2014  wiz Use false/true on boolean, not increment.
From Henning Petersen in PR 49194.
 1.15 15-Jul-2014  christos first attempt at toolification.
 1.14 20-Mar-2012  matt branches: 1.14.2; 1.14.8;
Use C89 function definitions
 1.13 21-Jul-2008  lukem branches: 1.13.2;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.12 23-Apr-2004  christos branches: 1.12.28;
constify, warns = 3
 1.11 18-Aug-2003  pooka back out revision 1.8 per discussion with Hubert

vgrind already worked properly in filter mode for source correctly
enclosed inside .vS and .vE. The change more or less broke troff
processing, since e.g. \fI became \\fI when it went through vgrind.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 12-Jul-2003  itojun strlcpy, some KNF
 1.8 10-Jun-2003  hubertf Escape backslashes properly. Fixes PR 6679.
 1.7 19-Dec-1998  christos char -> unsigned char
_start -> x_start
_escaped -> x_escaped

_start is the start symbol in solaris libc!
 1.6 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.5 17-May-1997  pk * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids.
 1.4 21-Mar-1996  jtc Be pedantic, main() returns int in C.
 1.3 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.12.28.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.13.2.1 17-Apr-2012  yamt sync with head
 1.14.8.1 10-Aug-2014  tls Rebase.
 1.14.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.14.1 10-Jun-2019  christos Sync with HEAD
 1.16 21-Apr-2012  roy Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
 1.15 08-Apr-2012  wiz Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
 1.14 18-Aug-2003  pooka branches: 1.14.56;
make the macrofile point to the new name
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.12 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.11 30-Sep-2002  grant New sentence, new line.
 1.10 08-Dec-2001  wiz Sort sections.
 1.9 04-Apr-2001  wiz Add section to xrefs. Whitespace fixes.
 1.8 22-Mar-1999  garbled branches: 1.8.10;
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.7 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.6 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.5 08-Mar-1997  mouse alternate -> alternative, per PR 2643
 1.4 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.3 05-Sep-1993  mycroft vtroff --> troff
From Sascha Wildner.
Also, change reference to vlp to lpr.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.8.10.1 26-Apr-2001  he Pull up revision 1.9 (requested by wiz):
Add section numbers for cross references, and whitespace fixes.
 1.14.56.2 23-May-2012  yamt sync with head.
 1.14.56.1 17-Apr-2012  yamt sync with head
 1.5 18-Aug-2003  pooka Use the new name for the macro file (vgrind.tmac) instead of the old
one (tmac.vgrind), the advantage being that the former exists.
 1.4 27-Oct-2002  kleink psroff has been dead for quite some time.
 1.3 17-Nov-1994  jtc branches: 1.3.18;
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 05-Sep-1993  mycroft vtroff --> troff
From Sascha Wildner.
Also, change reference to vlp to lpr.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.3.18.1 10-Dec-2002  jmc Pull up revisions 1.3-1.4 (requested by kleink in ticket #950)
psroff has been dead for quite some time.
 1.12 19-Sep-2014  wiz Sort sections. From Henning Petersen in PR 49222.
 1.11 21-Apr-2012  roy Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
 1.10 11-Mar-2009  joerg branches: 1.10.6;
Fix markup
 1.9 07-Aug-2003  agc branches: 1.9.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.8 30-Sep-2002  grant New sentence, new line.
 1.7 08-Dec-2001  wiz Drop some spaces and a .Pp, sort SEE ALSO.
 1.6 01-Dec-2001  wiz Whitespace cleanup.
 1.5 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.3 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.9.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.6.1 23-May-2012  yamt sync with head.
 1.11 15-Jul-2014  christos first attempt at toolification.
 1.10 07-Aug-2003  agc branches: 1.10.62; 1.10.74;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 14-Jul-2003  itojun use bounded string op as much as possible
 1.8 16-Oct-1998  kleink <sys/fcntl.h> -> <fcntl.h> in previous.
 1.7 08-Oct-1998  wsanchez Include unistd and sys/fcntl.
Add return types to functions.
 1.6 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.5 20-Dec-1994  cgd string.h to bring protos into scope.
 1.4 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 19-Apr-1993  mycroft Cleanup for GCC 2.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.10.74.1 10-Aug-2014  tls Rebase.
 1.10.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.1 09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.8 18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.7 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.6 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5 13-May-1997  gwr Change .PATH.c back to .PATH (missed this one)
 1.4 07-May-1997  mycroft Use proginstall:: to disable installing PROG.
 1.3 06-May-1997  gwr Use .PATH.c: ...
 1.2 17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.1 17-Nov-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.4 17-May-2003  itojun sscanf overrun
 1.3 23-Jun-2000  aymeric typo (: -> ;) and sync with 1998 change in ../regexp.c
_start -> x_start
_escaped -> x_escaped

this thing had probably never compiled under NetBSD! ;-)
 1.2 17-Nov-1994  jtc branches: 1.2.16;
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.1 17-Nov-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1 17-Nov-1994  jtc imported from 4.4lite
 1.2.16.1 27-Jun-2000  thorpej Pull up rev. 1.3:
typo (: -> ;) and sync with 1998 change in ../regexp.c
_start -> x_start
_escaped -> x_escaped

RSS XML Feed