lukem
c4b7a9e794
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
...
Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
2023-06-03 09:09:01 +00:00
andvar
bddff27ba4
s/inferface/interface/
2023-05-07 11:41:49 +00:00
andvar
67cf5ffde0
s/hierach/hierarch/
2022-05-28 21:57:39 +00:00
andvar
cdc507f0d2
fix various typos in comment, documentation and log messages.
2022-05-24 20:50:17 +00:00
andvar
f42f89fd6f
fix various small typos, mainly in comments.
2022-05-22 11:27:33 +00:00
andvar
7991f5a7b8
Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
...
Also fixed some additional typos in comments, found on review of same files or typos.
2021-07-24 21:31:31 +00:00
ozaki-r
e60c9f37ff
altqstat, cbq: follow uint64_t changes
...
PR kern/56319
2021-07-21 06:48:28 +00:00
ozaki-r
74e779797d
altqstat: follow changes of types of variables
...
PR kern/56319
2021-07-21 06:45:10 +00:00
ozaki-r
d08f344ac0
altqstat: show raw values of avgidle, maxidle and minidle
...
The values are sometimes small and cooked values of them can be less
informative such as 0 or -1.
2021-07-21 06:42:07 +00:00
ozaki-r
605235537f
altqstat: adopt ps_per_byte
...
PR kern/56319
2021-07-21 06:38:57 +00:00
ozaki-r
9b73e13909
libaltq, cbq: convert ns_per_byte to ps_per_byte
...
PR kern/56319
2021-07-21 06:36:33 +00:00
ozaki-r
aeaca9db55
libaltq: allow longer config lines
2021-07-14 08:33:05 +00:00
ozaki-r
1fa2b30b26
libaltq, cbq: add two options to interface
...
- no-control: don't create a control class automatically
- no-tbr: don't install TBR
2021-07-14 08:32:13 +00:00
fox
47c90ff9dc
usr.sbin/altq: Suppress -Werror=stringop-truncation error.
...
Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
2020-02-08 01:01:31 +00:00
fox
77e17afddc
usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3).
...
Reviewed by: kamil@
2020-02-07 21:53:20 +00:00
fox
c308ca874b
usr.sbin/altq: Fix -Wstringop-truncation warning.
...
Looks like the original intention was to truncate the string at len.
Replace strncpy(3) with strlcpy(3).
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
2020-02-07 20:13:26 +00:00
mrg
de11d87641
introduce some common variables for use in GCC warning disables:
...
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
msaitoh
03e9d50adf
Fix typo (s/supress/suppress/).
2019-07-11 03:49:51 +00:00
sevan
48c836ccbc
bump date
2019-04-09 19:10:21 +00:00
sevan
009f837b28
Drop Pp before Bl
2019-04-09 18:22:33 +00:00
sevan
d90cc3e3f6
New sentence, new line
2019-04-09 18:21:15 +00:00
wiz
01869ca4d2
Remove workaround for ancient HTML generation code.
2017-07-03 21:28:48 +00:00
christos
d6c5440ef4
PR/50824: David Binderman: Limit scanf width
2016-02-17 19:51:29 +00:00
christos
8ee626c9fa
improve error messages (remove \n, use __func__, etc)
2015-06-16 23:04:13 +00:00
christos
0a77b69ab6
fix unused variable warnings.
2013-10-19 17:16:37 +00:00
jakllsch
6c1cfa38a7
use IPv6 Documentation Prefix (2001:db8::/32) instead of unallocated
...
d000🅰️ :/32 prefix
2013-09-08 19:12:18 +00:00
joerg
dccf569e0e
Use __dead.
2011-08-29 20:38:53 +00:00
joerg
21f7e41a91
Use of non-literal format string.
2011-08-25 16:22:43 +00:00
christos
0d33c75c01
use memcpy to avoid type punning.
2011-08-16 12:49:13 +00:00
christos
0f2de03a73
remove gcc-4.5 hack and check fileno instead.
2011-08-16 12:39:29 +00:00
joerg
975a569b2d
Passes with the relaxed array boundary check in clang
2011-08-09 13:04:28 +00:00
mrg
5ed322d90a
apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.
...
this should be looked at more closely.
2011-06-22 05:23:53 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
wiz
f62c7cc384
Typo, and markup consistency. From YOMURA Masanori.
2011-04-25 22:45:31 +00:00
wiz
baacf5e062
Fix fd leak in error case. Found by cppcheck.
2011-01-04 09:14:42 +00:00
wiz
f5bd7d1980
Close fd in error case. Found by cppcheck.
2011-01-04 09:13:22 +00:00
joerg
bfbe4c3572
Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
...
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
2010-03-01 00:13:47 +00:00
he
76d4444c78
When using -lcurses, you also need -lterminfo.
...
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
mbalmer
40406154b1
Fix typo in comment.
2010-01-06 06:30:37 +00:00
lukem
7affd6558f
Fix -Wsign-compare issues
2009-04-15 00:13:50 +00:00
joerg
f4bfcdb4ae
Improve markup.
2009-04-08 13:36:32 +00:00
joerg
7ec31b06bd
Fix markup, making it symmetrical between filter6_values and
...
filter_values.
2009-03-15 12:30:09 +00:00
joerg
cba79e0ec4
Add support for source address hashhing in ALTQs WFQ. This allows to
...
easily distribute bandwidth for huge number of clients for incoming
traffic.
2008-09-11 17:58:59 +00:00
lukem
66176dfdff
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
...
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
xtraeme
7097d2c139
Constify and other misc fixes to make this build with WARNS=4.
2008-05-02 19:07:44 +00:00
plunky
6a6cf05532
fix mdoc warning: remove extraneous .El
2007-04-13 18:17:38 +00:00
wiz
3cdde55f8e
Use more markup, remove superfluous Ns calls.
2006-12-23 08:25:44 +00:00
peter
91c703ae73
Since the -D option doesn't do anything useful at all, remove it.
2006-11-26 11:38:07 +00:00
peter
ba31dc0ca8
- Show statistics immediately, not after a 5 second delay.
...
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.
This fixes PR #32847
ok tron@
2006-10-28 11:43:02 +00:00
wiz
c7e99862ec
"Millisecond" doesn't have a hyphen. New sentence, new line. PostScript
...
output improvements. Bump date for previous.
2006-10-14 07:39:40 +00:00