Commit Graph

20 Commits

Author SHA1 Message Date
phk
d8ac409160 Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
charnier
287f219c02 Main() returns int. 1997-08-26 11:08:24 +00:00
charnier
eee8c72e1a Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
jmg
7107e5422b minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org>

Closes PR#2999
1997-04-02 10:44:12 +00:00
phk
acde077ad4 Basically reverse last commit which was plain wrong. 1997-02-08 08:57:22 +00:00
wosch
8c41f06c7f delete unused variable BINDIR=/usr/libexec
/usr/bin -> ${BINDIR}
1997-02-06 15:00:24 +00:00
wosch
4bcfb053ec Sort cross references. 1997-01-15 23:25:55 +00:00
bde
4fca167e06 Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
joerg
2d7b0aca1c The neverending story... vgrind.
For definitions without an "nc" entry, some parts have now been
mis-detected as `non-comment'.  Avoid this by not converting the
noregexp in case the "nc" capability has not been found.  I begin to
wonder why things like missing "ab"/"ae"'s do work at all...

Detected by:	nate
1996-10-22 16:18:17 +00:00
joerg
4256f5443c Correct the SYNOPSIS section of the man page to add the -p option. 1996-10-21 18:04:42 +00:00
joerg
49f79cab93 Slightly improve the C and C++ support. Allow for function return
types being on the same line as the function name, this finally closes
PR # bin/1785.  Also allow :: and ~ as part of the function name, for
C++.

Still, C++ operator overloading will not be recognized as a valid
function name.  Fixing this would require a major overhaul of the \p
recognition parser.
1996-10-18 17:23:33 +00:00
joerg
e9d8333cac Some cleanup:
. correct a typo in regexp.c,
. implement a new "nc" (non-comment) feature to describe exceptions from
  the comment detection; there were problems in Perl with the $# operator
  that could not be solved by any other means,
. prevent blocklevel from becoming negative (due to earlier misdetected
  sequences), this is probably a workaround for the problem described
  in PR # bin/1785,
. update the Perl description to use the "nc" feature,
. update the man page for the "nc" and the undocumented "ab"/"ae"
  features.
1996-10-18 14:13:18 +00:00
joerg
901db635de Wow!, i finally found a usable vgrind definition for Perl. 1996-10-15 18:58:45 +00:00
joerg
7f766016b3 . make vgrind 8-bit clean; note that it still implicitly assumes
ISO-8859-1, since the characters are simply being passed on to
  groff
. introduce an option to override the silly default to `psroff' as
  the post-processor
. document the new option
1996-09-08 18:23:53 +00:00
bde
f5284ed86d Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
bde
7421f5c2c7 Build database at build time instead of at install time. 1994-09-05 14:07:37 +00:00
wollman
3ac06aac07 More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
phk
011c1468f5 Reviewed by: phk
changed a ctrl-A to \001
1994-07-24 01:42:51 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00