Commit Graph

48 Commits

Author SHA1 Message Date
mrg
084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
jmmv
582b13f281 Fix typo: inteface -> interface. 2006-03-08 22:47:40 +00:00
peter
f1843b15c3 - add -D to usage
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)

From Kouichirou Hiratsuka in PR/26532.
2005-06-17 12:02:00 +00:00
he
7cc15c3097 Initialize various local variables (clinfo, fltrinfo) to appease
-Wuninitialized.  Found while compiling for sun2.

Reviewed by lukem.
2005-06-07 13:39:37 +00:00
kleink
bcbb5c6578 Include <sys/time.h> for struct timeval. 2005-05-20 18:01:46 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
dsl
238960af7e Add (unsigned char) cast to ctype function 2004-10-29 19:51:36 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem
931c212f78 Now that <math.h> #defines INFINITY as HUGE_VALF (the float version)
(per C99 7.12 #4), we can't define it as HUGE_VAL (the double version).
Instead, just use HUGE_VAL directly.
2003-10-26 08:08:06 +00:00
wiz
7fa3ef5ac1 Quote question mark. 2003-06-27 22:56:37 +00:00
itojun
682aab7791 sscanf overrun 2003-05-17 14:54:53 +00:00
perry
225230174b Spelling errors (some from Igor Sobrado, PR misc/19909)
XXX this needs to be fed back to the altq maintainers, but I don't
know who they are.
XXX This man page needs a lot of cleanup.
2003-03-31 17:21:41 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz
b7e50f132b Make '?' work in interactive mode. Fixes PR bin/19949 by Christian Biere. 2003-02-01 17:13:14 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
christos
4a51bd3d7b update for struct renaming; noticed by David Laight. 2003-01-06 15:23:11 +00:00
lukem
c52b93f508 minor makefile delint 2002-09-18 13:31:52 +00:00
itojun
2237adde2a use HUGE_VAL defined in <math.h> instead of 1e500 for positive infinity.
gcc -pedantic audit by deraadt@openbsd.org
2002-09-08 09:28:23 +00:00
lukem
ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
itojun
53ae45711d fail if the default class is larger than the ctl class.
report by Paul Civati <paul@xciv.org>
2002-05-31 06:53:48 +00:00
itojun
69881cf6b8 bring in latest ALTQ from kjc. 2002-03-05 04:11:51 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
776f7c2e1e Sort SEE ALSO, fix an xref. 2002-01-19 03:05:35 +00:00
wiz
611cc11bd4 Sort SEE ALSO. 2002-01-19 03:05:00 +00:00
thorpej
d5b972580e Need <string.h> for strcmp() prototype (noticed by gcc 3.1). 2001-12-31 19:31:23 +00:00
wiz
654780212e client, not clinet. 2001-12-27 13:22:01 +00:00
lukem
0ab8000335 as this installs in /sbin, set LDSTATIC?=-static. fixes PR [bin/14886] 2001-12-14 00:52:34 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
itojun
d5e1f166e0 sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
2001-08-22 08:52:35 +00:00
itojun
62856425b4 $NetBSD$ 2001-08-16 07:48:08 +00:00
itojun
8b8734d26b string length audit (use strlcpy). sync with latest kame ALTQ. 2001-08-16 07:45:35 +00:00
itojun
92b62a25f8 avoid inet_addr. use snprintf. recent changes from openbsd-current via kame 2001-08-06 07:00:59 +00:00
wiz
9322798d06 No argument for .Os. 2001-06-05 10:27:02 +00:00
wiz
2c753b6eca Add .Os. 2001-06-05 10:26:26 +00:00
wiz
48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
wiz
7d87aacf52 Add RCS Ids. 2001-05-08 17:04:56 +00:00
thorpej
fa10675c86 No need to report that we're going into daemon mode. 2001-04-06 04:12:02 +00:00
thorpej
181cfc19d2 From KAME:
kjc         2000/12/29 15:39:28 JST

  Modified files:
    kame/kame/altqstat   qdisc_cbq.c
  Log:
  typo fix: "Mbps" should be just "bps".

  Revision  Changes    Path
  1.3       +3 -3      kame/kame/kame/altqstat/qdisc_cbq.c
2001-04-06 00:39:53 +00:00
thorpej
aac786d5d0 Put tbrconfig(8) into /sbin so it's usable during early
setup, and can be executed from ifconfig.xxx.
2001-04-05 21:48:05 +00:00
cgd
e209ced86f include string.h for prototypes. 2001-01-16 02:38:36 +00:00
enami
30fc09dacc Use PRINTOBJDIR. 2001-01-11 13:15:06 +00:00
lukem
43b126d3f1 no need for LOG_PERROR if we're about to daemon()ize (and close
stderr in the process)
2001-01-10 23:48:14 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
thorpej
28f0042b51 Build glue for ALTQ programs. 2000-12-16 18:57:34 +00:00
thorpej
d4bf5787dc Token bucket regulator config program for altq. 2000-12-16 17:53:19 +00:00
thorpej
8726857e6b Import the altq status program. 2000-12-16 17:40:16 +00:00
thorpej
09dce659bf Import the altq configuration daemon. 2000-12-16 17:39:40 +00:00
thorpej
95a6556014 Import the altq library. 2000-12-16 17:38:07 +00:00