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
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
matt
5f058922b3
This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
...
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.
usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
wiz
1ac719d147
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
...
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
joerg
dc9f50680c
Use static + __dead
2011-11-25 12:51:27 +00:00
jruoho
260563ef8c
Note also here that this is a legacy daemon that is more or less deprecated.
2010-03-20 09:22:37 +00:00
nakayama
1c54a66d99
System utilities, boot programs and kernel modules are machine
...
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
2009-12-13 05:01:32 +00:00
lukem
d877c4c3c0
Enable WARNS=4 by default, except for:
...
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
abs
515e52158b
Convert more MACHINE tests to MACHINE_ARCH
2009-02-14 13:50:50 +00:00
reed
221899b84e
Mention that the program is only installed on supported platforms.
...
(Also add a paragraph break.)
I didn't specifically mention the platforms or what support is needed.
At least someone reading the manpage will have some idea why the tool
is missing from their system.
(Some manual pages mention this in the BUGS section, but I didn't do that.)
2008-09-25 22:44:51 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
nonaka
055f45996f
Added zaurus.
2007-07-29 14:34:45 +00:00
elad
1232ea27c4
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
...
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
mrg
0c37c63edc
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
...
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
elad
3281cee076
Default socket owner to operator:operator.
2006-01-20 00:21:35 +00:00
xtraeme
1107a12cd0
Kill __P(); WARNS=3
2005-03-16 01:44:46 +00:00
uch
bfd65ea205
add hpcsh
2004-07-04 15:55:35 +00:00
wiz
846b6d9564
Describe default polling rate correctly, from Jeff Ito in PR 25589.
...
New sentence, new line while here; bump date.
2004-05-16 10:54:12 +00:00
wiz
727fd51b35
Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995.
2004-01-06 13:29:55 +00:00
martin
86af37d360
Make child processes log failure to exec scripts.
2003-06-24 09:41:34 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
takemura
976f1e210f
Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages
...
into mi directory.
2002-10-14 06:31:37 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
f46e921837
poll.h, not sys/poll.h
2002-09-23 03:36:03 +00:00
mycroft
720a68f0ca
select() -> poll()
2002-09-18 20:58:56 +00:00
itojun
7dd411b55d
userland access to apm emulation.
2002-06-18 05:24:44 +00:00
itojun
5f38ec918c
daemon(3) has to be called prior to file descriptor setups.
2002-01-11 04:35:52 +00:00
thorpej
429c29847e
Statements must follow labels.
2001-12-31 19:33:58 +00:00
enami
a88b4adee6
Zero clear the apm_power_info structure being passed to ioctl.
2001-09-15 02:42:26 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz
6542c07106
Xref apm 8, not 1. Whitespace fixes while I'm here.
2001-04-03 11:24:20 +00:00
cgd
25bdbb661e
convert to use getprogname()
2001-02-19 23:22:40 +00:00
chuck
739ac42b5e
be more picky about running /etc/apm/{battery,line} in response
...
to APM_POWER_CHANGE event. some BIOS post this event periodically
while the battery is charging/discharging (no change in a/c state).
on these systems this prevents /etc/apm/{battery,line} from being
run multiple times.
2001-01-25 00:48:59 +00:00
lukem
0645f2f67b
use explicit name rather than __progname in openlog
2001-01-11 01:34:28 +00:00
lukem
6ccf8e332e
format the option descriptions in a more standard (and imho readable) style
2000-11-05 03:05:48 +00:00
jhawk
8c412633ff
Check for lowbattery state (if running -l) when polling for state,
...
rather than just when receiving events. Thus, if events are not
working (for some unknown reason...), low-power shutdown will
still work.
2000-08-13 21:13:56 +00:00
mycroft
5ba0d0cdec
Add a `-v' option, and make various log messages depend on `-d' or `-v'.
2000-03-04 21:27:17 +00:00
enami
04553a3a98
Kill the period in SEE ALSO.
2000-02-02 01:55:55 +00:00
jlam
2cda0d3aff
Add 'l' to getopt-checked flags
2000-01-13 16:04:53 +00:00
hubertf
a27c7840ac
mention /usr/share/examples/apm/script
1999-12-29 05:00:43 +00:00
garbled
37b2f44641
Enable build on sparc, and move manpage out of i386 specific directory
1999-12-15 20:34:03 +00:00
soren
4b5e002090
Do not force logging of status in the POWER_CHANGE case. Any
...
interesting changes will be noticed and printed by power_status().
1999-09-04 18:38:28 +00:00
thorpej
56c5efa335
Use pidfile(3).
1999-06-06 02:52:16 +00:00
garbled
d1407362ba
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.
1999-03-22 18:43:46 +00:00
mycroft
d77575d3c8
Clean up SYNOPSIS formatting.
1999-03-07 11:58:22 +00:00
christos
ac20cbee1c
PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically
...
when the is a battery low event.
1998-12-19 15:27:58 +00:00
kenh
0c2d06b6ae
Add support for running scripts for line power to battery transitions
...
(and vice versa).
1998-11-19 19:39:14 +00:00
lukem
786b86d71b
use AF_LOCAL instead of AF_UNIX
1998-07-18 05:04:35 +00:00
lukem
f5bf267d90
enable WARNS=1 by default, but disable in unclean 3rd party code
1997-10-18 06:42:25 +00:00