Commit Graph

179833 Commits

Author SHA1 Message Date
mjf b6791e4a2a Get audio capture fully working with harmony(4) and fix PR/35239.
skrll@ reports that with this patch he can record and playback audio.
Suprisingly the bug was actually with playback and not with capture.
When not capturing or playing audio we write to or read from "empty
buffers", the problem was that playback and capture were using the same
buffer and the playback code managed to pick up a bit of data that was
written from the capture code.
2009-04-15 20:07:58 +00:00
tsutsui 3d2a48dd46 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-15 17:15:13 +00:00
cegger cb572d026d No Execute bit is available in PAE-paging mode.
However to use it, NXE bit in EFER register must be set.
2009-04-15 13:05:47 +00:00
yamt 87984ef060 pool_cache_put_paddr: add an assertion. 2009-04-15 11:45:18 +00:00
yamt f0cdb5ac8d kpreempt: report a failure of cpu_kpreempt_enter. otherwise x86 trap()
loops infinitely.  PR/41202.
2009-04-15 11:44:20 +00:00
yamt c495a11d21 plug some pnbuf leaks. 2009-04-15 11:41:25 +00:00
tsutsui f32f514ecd Remove an explicit BUILDTARGETS do-compat-external-lib before do-build
because now src/compat/Makefile descends there and no particular
dependency on 32 bit compat external libs during do-build.
2009-04-15 10:18:34 +00:00
lukem 107925002e Fix -Wsign-compare issues 2009-04-15 10:05:41 +00:00
lukem 778b72dfdb Fix -Wsign-compare issues 2009-04-15 08:40:59 +00:00
lukem 8d37bc2951 Fix -Wsign-compare issue 2009-04-15 08:38:37 +00:00
pooka 73871be1ed fix WARNS=4, recipe from lukem 2009-04-15 08:36:21 +00:00
lukem a35a433358 Fix -Wshadow and 'setjmp clobber' warnings. 2009-04-15 08:33:04 +00:00
lukem f6c4f0aee4 Fix WARNS=4 (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-15 08:26:34 +00:00
lukem 98e270d73f Fix -Wsign-compare issue 2009-04-15 06:01:01 +00:00
lukem be3963b646 Constify a userland-only member. 2009-04-15 05:56:36 +00:00
lukem 04532254ee Fix -Wsign-compare issue 2009-04-15 05:50:20 +00:00
lukem 984afef138 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-15 05:43:22 +00:00
lukem 3d305af9f2 Fix -Wsign-compare issue 2009-04-15 05:41:09 +00:00
jld d61104a0f0 Another empty-body warning/error, another set of curly braces. This, and
the last one, appear to affect only the NO_DEBUG (e.g., SMALLPROG) build.
2009-04-15 04:19:39 +00:00
jld 882877eb33 Unbreak the build by adding curly braces to placate the empty-body warning. 2009-04-15 03:42:33 +00:00
dogcow 85e7c15ca3 more signed/unsigned comparison fixes 2009-04-15 02:07:20 +00:00
christos 7f812cd511 Lukemify (WARNS=4) 2009-04-15 01:20:57 +00:00
lukem 19a92f1b8c Fix -Wsign-compare issue 2009-04-15 01:01:06 +00:00
lukem d8a2ebd20f Fix -Wsign-compare issues 2009-04-15 00:40:01 +00:00
lukem 2132a832ac Fix -Wsign-compare issue 2009-04-15 00:37:05 +00:00
lukem 020f7791cb Fix -Wsign-compare issues 2009-04-15 00:35:04 +00:00
lukem 4d8dfd66df Fix -Wsign-compare issues.
(Use %u not %d for unsigned ints.)
2009-04-15 00:32:23 +00:00
lukem 7affd6558f Fix -Wsign-compare issues 2009-04-15 00:13:50 +00:00
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem 9a472d38d4 Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-14 22:03:07 +00:00
lukem 0b173a25f2 Redo previous -- cast to (unsigned char) 2009-04-14 21:58:36 +00:00
elad d91dbb36b0 Don't set sin->sin_port and sin6->sin6_port to 0 before calling
ifa_ifwithaddr(), as we no longer do a byte compare on the entire struct.

Reviewed by and okay from dyoung@.
2009-04-14 21:25:20 +00:00
christos 393e163e85 Add openldap from Kurt Schreiner. Really, this should just contain:
.include "../../../external/lib/Makefile"

but unfortunately we can't do this yet because we are missing:

SUBDIR+= ../../crypto/external/lib
SUBDIR+= ../bsd/fetch/lib
SUBDIR+= ../bsd/libarchive/lib
SUBDIR+= ../bsd/am-utils/lib

Yelp!
2009-04-14 21:20:49 +00:00
cube fbe24c14b9 Give previous commit a chance to work [hi christos!]. 2009-04-14 20:26:52 +00:00
dyoung 773ba4e409 Delete two unused data members, the powerhook and the shutdownhook
handles.
2009-04-14 20:17:15 +00:00
christos a920c3ef92 Descend into external/lib like the regular external Makefile does, should
make objects properly.
XXX: Now we will descend into lib twice (same as the regular external Makefile
from the top level.
2009-04-14 17:51:57 +00:00
christos 185e0d409f External stuff does not belong here. It is handled by external/lib when
descending to external from the top level. At least this is the theory
as I understand it.
2009-04-14 17:49:45 +00:00
christos ba547ecf41 mkldap depends on mkcrypto 2009-04-14 17:47:16 +00:00
christos c9b1bc05c2 revert previous. we want to link against the compat libs not the regular
ones.
2009-04-14 17:33:27 +00:00
pooka 04b935ee0a Instead of printing the status value from wait(), decode it into
more human-readable output.

reviewed by jmmv
2009-04-14 15:41:11 +00:00
tsutsui ebcec758d8 Fix an indent. 2009-04-14 12:18:56 +00:00
tsutsui 60c60a896c Wrap a long line. 2009-04-14 12:18:36 +00:00
tsutsui 908d2667d5 Add dhclient to ramdisk root. 2009-04-14 12:09:48 +00:00
apb 74214207d5 Fix two bugs in handling banners in sshconnect2:
1) If the length of the banner is zero, don't bother printing it.
   This can happen if the remote server has a zero-length /etc/issue
   file.  Previously, ssh would die with "xmalloc: zero size".
2) strvisx() needs an extra byte for the nul terminator.
2009-04-14 11:53:40 +00:00
martin 4d6d63eaa4 Replace (wrong) long ../../../ path to library source dir with
a ${NETBSDSRCDIR} based one.
2009-04-14 10:39:37 +00:00
pooka 95ab63fa91 WARNS=4 2009-04-14 10:20:22 +00:00
pooka 3df59b06ac Add atf_tc_fail_errno(), which appends strerror(errno) to the
message string.  Adding it to h_macros suggested by jmmv
2009-04-14 10:19:38 +00:00
lukem 238e973f29 Fix sign-compare issues 2009-04-14 10:11:28 +00:00
lukem e015e1d018 Call toupper() with an int argument. 2009-04-14 10:03:55 +00:00
lukem 38a78fe6fc Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-14 09:55:07 +00:00