Commit Graph

241402 Commits

Author SHA1 Message Date
christos
f2ec6c66ac PR/50911: David Binderman: Optimize memset 2016-03-07 15:58:05 +00:00
christos
89e8cc1112 PR/50909: David Binderman: Optimize memset 2016-03-07 15:56:17 +00:00
christos
161a4d81ea PR/50910: David Binderman: Optimize memset. 2016-03-07 15:55:06 +00:00
dholland
60d995df79 Terminate expression with a semicolon, instead of accidentally
splicing to the next line with a comma. Noticed by Christos. Has no
actual effect, fortunately. (Compiler output is unchanged.)
2016-03-07 15:09:55 +00:00
christos
85e7d45a39 PR/50908: David Binderman: Optimize memset's 2016-03-07 14:47:25 +00:00
christos
95e3bb37fd PR/50907: David Binderman: Remove useless strlen()'s and memcpy()'s. 2016-03-07 14:35:39 +00:00
joerg
715ef344d7 Ignore clang's empty loop-body warning, it is used extensively via
macros.
2016-03-07 14:35:21 +00:00
hannken
71d1b0cc02 Relocation of type SHT_REL must use the current value as addend.
Fixes ctfconvert for i386 where section .debug_info uses this relocation.

Ok: Christos Zoulas
2016-03-07 14:32:02 +00:00
christos
ed3efbbd44 PR/50905: Henning Petersen: Fix useless comparison (from FreeBSD) 2016-03-07 13:08:48 +00:00
christos
0598d5879b PR/50909: David Binderman: Optimize memset 2016-03-07 12:48:53 +00:00
skrll
b482692892 PR/50904: Fix variable assignment inside if-clause. 2016-03-07 10:52:17 +00:00
martin
cb0ca8dd7b Try to fix build on 32bit architectures. 2016-03-07 08:59:00 +00:00
ozaki-r
5472fb5b21 Add missing percpu_putref to error path 2016-03-07 01:41:55 +00:00
christos
3eda01ea39 Avoid void * arithmetic 2016-03-07 00:51:32 +00:00
christos
8dcf2fd159 Better to panic! Otherwise we end in an endless loop. 2016-03-07 00:28:36 +00:00
christos
d2b754e0c5 Return instead of crashing. This is wrong, and should be fixed properly. 2016-03-07 00:16:48 +00:00
christos
bd45646f1b Don't throw us in the debugger! 2016-03-07 00:11:33 +00:00
christos
72614d1ec0 Remove advertising clause. 2016-03-07 00:05:20 +00:00
plunky
e01e653371 use correct offset for channel in SDP record 2016-03-06 21:12:07 +00:00
tnn
6815b834d0 Don't try to interpret MIPS3-specific status register bit on MIPS1.
Fixes boot of NetBSD/pmax in gxemul 3max emulation mode.
2016-03-06 21:03:01 +00:00
christos
8e7e68da22 PR/50900: David Binderman: optimize memset 2016-03-06 19:47:41 +00:00
christos
6228dc517a PR/50899: David Binderman: optimize memset 2016-03-06 19:46:05 +00:00
christos
76c55f5ab8 PR/50898: David Binderman: remove redundant memset. 2016-03-06 19:42:25 +00:00
christos
d6c8225a0e use kat, a version of cat that strips comments 2016-03-06 18:50:06 +00:00
christos
709030f1f5 Introduce kat() a built-in version of cat(1) that strips shell-like comments. 2016-03-06 18:49:42 +00:00
christos
e33113ab6d Work around gcc on sparc64 bug 2016-03-06 18:01:28 +00:00
christos
fd89278a5f PR/50897: David Binderman: fix memory leaks. While here, modernize error
handling, and types.
2016-03-06 16:13:21 +00:00
martin
bf186f94c5 David Binderman in PR bin/50897: fix memory leak. 2016-03-06 15:44:06 +00:00
mlelstv
d44fe57396 Non-x86 doesn't have AGP. This should really be handled by config logic. 2016-03-06 10:59:56 +00:00
aymeric
61c727b363 bump date for entry about using NetBSD's regex, now that it works 2016-03-06 10:26:57 +00:00
aymeric
a3838ae30d add our libc's regex implementation to libnbcompat.
This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.

Full release tested on ArchLinux and NetBSD 7.0_STABLE
2016-03-06 10:19:01 +00:00
nakayama
b8feaa5e58 Remove unnecessary local change. 2016-03-06 09:39:42 +00:00
nakayama
445b9f9763 Reapply following changes to binutils 2.26 to fix PR toolchain/48630.
http://mail-index.netbsd.org/source-changes/2014/03/10/msg052578.html
http://mail-index.netbsd.org/source-changes/2014/03/10/msg052579.html
2016-03-06 09:38:08 +00:00
mlelstv
200cdc61ea Use KASSERT for conditions that cannot be met with current parameters. 2016-03-06 07:33:25 +00:00
christos
9ad1c4b588 Simplify the port comparison code further. 2016-03-06 04:19:51 +00:00
mrg
35f210138a if opening the audio device fails, try opening again with write-only.
this allows my playback-only usb device to be listed and tested.
2016-03-05 22:10:39 +00:00
christos
1f725e84a4 kill stray & 2016-03-05 20:26:07 +00:00
christos
4495e307bd Fix port matching; we need to ignore ports when they are 0 not only in
the second saidx but the first one too. Fixes NAT-T issue with NetBSD
being the host behind NAT.
2016-03-05 20:13:40 +00:00
christos
0ab2237aab gather more information from mbuf. 2016-03-05 20:12:23 +00:00
christos
9347deb6cb Add more debugging, no functional change. 2016-03-05 20:11:09 +00:00
uwe
0d7369c54b The '-i' flag should work regardless of whether the standard input is
a terminal.  The Open Group notes this historic behavior and correctly
notes that it doesn't make much sense.  Note also, that mv(1) has
always respected its '-i' regardless of whether the standard input is
a terminal.

From Timo Buhrmester.
2016-03-05 19:48:55 +00:00
riastradh
566ef8a23e Revert to disabling nouveau by default in x86 GENERIC.
Haven't had time to debug the issues that seem to affect pretty much
everyone.  Maybe soon!
2016-03-05 17:08:48 +00:00
kamil
6b1cac1128 Correct display of df(1) with the -i parameter
Now the "Mounted on" column should be aligned with /entries.

Patch by Michal Mazurek.
2016-03-05 08:15:01 +00:00
mlelstv
2d6e668d26 Don't modify command line buffer but create a copy of the root argument. 2016-03-05 07:33:58 +00:00
mlelstv
bf0eee822e Make agp_i810 also depend on agp so that a 'no agp' build is possible. 2016-03-05 06:48:31 +00:00
macallan
c1adbebef1 allow mmap()ing blitter registers 2016-03-04 22:08:09 +00:00
christos
ad2951bb03 make it work on linux, be pickier about errors, and correct variable type. 2016-03-04 18:52:01 +00:00
christos
9710b25d7f Fix infinite recursion caused by gcc lossage. 2016-03-04 17:49:06 +00:00
ozaki-r
8ce75dc03a Improve tests of proxy arp
The tests make it clear how it behaves though, I don't know if the current
behavior is what it should be.
2016-03-04 04:18:44 +00:00
dholland
6d1844cb1e Don't try to use stdin after clobbering it with a failed freopen().
Prevents an extra "Bad file descriptor" message when trying to hexdump
a single nonexistent file.

The intended behavior seems to have been to read from stdin if there
was one filename given and it wasn't valid. But this seems like a bad
idea, so prevent that case instead of hacking it up so it works.
2016-03-04 03:02:52 +00:00