joerg
73c26f5d13
Remove copyright, use __RCSID.
2013-09-13 20:51:20 +00:00
wiz
2aa10166ef
Update standards conformance. From jmc@openbsd.
2013-09-12 07:26:13 +00:00
pooka
d5e9a0d652
Not all systems sport err.h, so redo those bits using the die() routine
...
we need to have hanging around anyway for proper error reporting from
a daemonizing server. le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f
<sys/cdefs.h> comes from rumpuser_port.h
2013-09-10 19:42:32 +00:00
pooka
22882349e0
Need bsd.own.mk for mk.conf, include it at an opportune place.
2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9
Make it possible to omit libutil from the link. It's used only for
...
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3
Make this work on platforms without disklabels, modules, etc.
2013-09-10 17:59:52 +00:00
pooka
56651ceb36
Do like the comment suggests and don't sanity-check the -c parameter here,
...
since we can't do it properly.
2013-09-10 17:13:29 +00:00
christos
f812b4b441
Expand ep->host to contain the final string that we are going to print
...
before computing the width of the host column.
2013-09-09 19:20:38 +00:00
wiz
be79f6c038
Improvements from jmc@openbsd.
2013-09-09 09:02:25 +00:00
prlw1
2f73dfb288
Fix
...
/var/log/httpd/access.log 644 52 * $W0D23 ZBP /var/run/httpd.pid 30
newsyslog: config line 16: bad signal type
(strtol: **endptr is '\0' on success rather than *endptr)
2013-09-05 11:34:40 +00:00
sjg
cde1c40e1b
Add VAR_INTERNAL as a context for variables set by make itself,
...
which should not override those set by makefiles.
Currently MAKEFILE is the only variable affected.
Reviewed by: christos
2013-09-04 15:38:26 +00:00
sjg
be3c37de45
Do not apply shellErrFlag unless errCheck is true.
2013-09-02 19:26:42 +00:00
jnemeth
571c39977c
use spaces, not tabs
2013-09-01 10:17:58 +00:00
jnemeth
50fa456661
add NetBSD 6.1.1 release
2013-09-01 10:16:19 +00:00
mrg
0c2e06460b
move most of the header writing code from record.c into wav.c and sun.c.
...
introduce a struct write_info for communication between front ends and
backends.
libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.
2013-08-30 20:57:26 +00:00
sjg
ec98624792
Fix parsing of SUNSHCMD style :sh = assigments.
...
Submitted by: Will Andrews at freebsd.org
2013-08-28 21:56:49 +00:00
dholland
98ce70f09e
passes WARNS=5, don't set it to 4.
2013-08-21 21:05:29 +00:00
joerg
d9a44d716d
Use more static and __dead.
2013-08-15 20:48:56 +00:00
christos
17168f5ab4
CID 1062241
: simplify free for coverity
2013-08-12 20:36:30 +00:00
joerg
2c7fa37363
Add more __dead.
2013-08-12 14:03:18 +00:00
pooka
26b4d3d169
ioconf/pseudo-root have been in here unchanged for 3+ years and their use
...
has spread from rump kernels into dozens of kernel modules. Let's pretend
we don't want to see config yell about them being experimental every time.
2013-08-11 10:37:08 +00:00
apb
480a3064b0
Use Va markup to show that the "suffix" part of ".PATH.suffix"
...
is a placeholder, not a literal string.
Also bump date.
2013-08-11 09:53:49 +00:00
dholland
e9067f113d
WARNS=5
2013-08-11 08:03:10 +00:00
dholland
99934b2d0c
Passes WARNS=5, so don't set WARNS=4.
2013-08-11 06:48:46 +00:00
dholland
65910359bc
Passes WARNS=5, so don't set WARNS=3.
2013-08-11 06:47:38 +00:00
dholland
06eef6894d
add more static
2013-08-11 06:45:23 +00:00
dholland
043c758bea
add more const
2013-08-11 06:43:10 +00:00
dholland
beced5ea78
WARNS=5
2013-08-11 06:39:47 +00:00
dholland
7899f1dc15
Remove redundant WARNS=5.
2013-08-11 06:32:13 +00:00
dholland
1a91378aae
Pass WARNS=5.
2013-08-11 06:31:00 +00:00
dholland
524e377411
Passes WARNS=5; don't set WARNS=4.
2013-08-11 06:09:29 +00:00
dholland
f02a6c3b94
Document .PATH.suffix:. Noted by apb back in December of 2008
...
(that's how long my queue is...)
2013-08-11 04:40:58 +00:00
dholland
7c248df2ae
Whitespace.
2013-08-11 01:54:35 +00:00
dholland
8d0b47d1c9
Fix another bug, relating to parsing the [=x=] syntax.
2013-08-11 01:49:40 +00:00
dholland
aba78f7512
Tidy up more. This is pretty ratty code.
2013-08-11 01:42:35 +00:00
dholland
5e8eff378e
Tidy up.
2013-08-11 01:29:28 +00:00
dholland
9f2ae0ea3d
Pass -Wpointer-sign.
2013-08-11 01:00:13 +00:00
dholland
d506ddf6f7
avoid undefined behavior.
2013-08-11 00:52:17 +00:00
dholland
8a7a973b90
Don't explicitly zero bss variables that are already zeroed.
2013-08-11 00:49:15 +00:00
dholland
c47da08424
Add comments explaining how this works.
2013-08-11 00:48:37 +00:00
dholland
8b42fe334c
Simplify the parser handling.
2013-08-11 00:39:22 +00:00
dholland
e141bc4323
Remove silly written-out initialization of string1.
2013-08-11 00:34:09 +00:00
dholland
848d757378
Make tr -c work. Fixes PR 48113.
...
When -c is in effect, scan string1 first, complement it, and then
iterate over the results while scanning string2. Otherwise, scan
string1 and string2 together as before.
2013-08-11 00:28:46 +00:00
dholland
567ab40d47
apply some CSE
2013-08-11 00:12:47 +00:00
dholland
9dd74a9973
Restore preexisting wrong behavior of tr -c (translates all characters
...
to the last letter in string2) instead of a different wrong behavior
(translates all characters to 0xff) accidentally just introduced.
2013-08-11 00:11:46 +00:00
dholland
48dbbc109e
sprinkle const
2013-08-11 00:05:49 +00:00
dholland
7f7f549599
Make the parser state opaque. While here, fix a memory leak when using
...
the [:foo:] syntax.
2013-08-11 00:04:14 +00:00
dholland
d05d2aa5a7
Expose less of the parser state outside str.c.
2013-08-10 23:54:41 +00:00
sjg
7f708505a0
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
...
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:20:03 +00:00