Commit Graph

12211 Commits

Author SHA1 Message Date
christos
bdeefc61e5 more clobbering fixes. 2013-10-18 20:43:45 +00:00
christos
c3e578cfbe fix clobbered variable 2013-10-18 20:41:58 +00:00
christos
b52ab07dd4 remove unused 2013-10-18 20:41:49 +00:00
christos
15a5bba97c - avoid pointer gymnastics
- remove unused variables
2013-10-18 20:26:45 +00:00
christos
9f630f8bc1 avoid redefinitions 2013-10-18 20:19:36 +00:00
christos
30eeb0614b don't read random garbage from the stack 2013-10-18 20:19:03 +00:00
christos
3c6b5224e0 avoid pointer gymnastics 2013-10-18 20:18:42 +00:00
christos
f49cbbddb9 avoid longjmp clobber. 2013-10-18 20:17:59 +00:00
bad
87f2ce05f1 No David, '\?' is not the del character. Broken in rev 1.21.
XXX pullup-5, pullup-6.
2013-10-14 22:23:22 +00:00
jnemeth
694b13b9ba delete duplicate (and wrong) entry for Thanksgiving Day in Canada 2013-10-13 16:43:49 +00:00
christos
73da111b07 fix the rest of the lint warnings [pass 1] 2013-10-07 15:17:24 +00:00
dholland
04fb430032 Save errno around fwrite(), which can otherwise trash it; PR 47813.
This appears to fully resolve the problem described in the PR, even
though one might think it wouldn't.
2013-10-07 02:00:46 +00:00
dholland
603ad97a41 Merge some of the cleanup from PR 21894. Do a bit more of my own.
lint still squawks quite a bit, and it woudl probably be worthwhile
for someone to go through and make all the signedness consistent, but
I think I've got the valuable bits.
2013-10-07 00:16:19 +00:00
christos
8818316ba3 add more compression suffixes and local suffixes. 2013-10-06 17:14:49 +00:00
christos
b496a26a9d Recognize .gz and .bz2 suffixes so $ man ./man.1.gz works. From Franco Fichter
via dfly.
2013-10-06 16:43:41 +00:00
christos
7d79a7ccd9 Be more permissive in interpreting man pages as filenames, from Franco
Fichter via dfly. fixes:
	$ man usr.bin/man/man.1
2013-10-06 16:29:26 +00:00
roy
c019d40dad terminfo uses CDB instead of DB 2013-10-01 09:01:49 +00:00
sjg
5042f283e6 meta_oodate: 'L'ink and 'M'ove entries need extra processing.
The src of a Link should be treated as a file Read
while the target a file Written.
The src of a Move is like a file Deleted
and the target like a file Written.
2013-10-01 05:37:17 +00:00
wiz
f5b349c2c4 Sort. Use .Ex for EXIT STATUS section. 2013-09-30 08:13:59 +00:00
riastradh
88bc4b53a7 New utility getaddrinfo(1) to reflect getaddrinfo(3).
Discussed on tech-userlevel back in April:

https://mail-index.netbsd.org/tech-userlevel/2013/04/25/msg007719.html

Not hooked into the build or sets yet.
2013-09-30 06:19:22 +00:00
riz
985d0231c0 NetBSD 6.0.3 and 6.1.2 released. 2013-09-30 03:50:31 +00:00
jnemeth
0acf56cdc6 add NetBSD 5.1.3 and 5.2.1 releases 2013-09-29 07:43:43 +00:00
wiz
2626dec52e Improve description.
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-24 22:08:06 +00:00
joerg
3657cb7f1d Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
khorben
77b82c32cc flock(1) really appeared first in NetBSD 6.1 2013-09-21 15:01:14 +00:00
wiz
bcd8a2345c If file argument is '-', read from stdin.
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-17 20:00:50 +00:00
matt
3c2ba04fe8 If MAKE_NATIVE, use sysctl to get MACHINE_ARCH from hw.machine_arch. 2013-09-14 15:09:34 +00:00
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