christos
7792ef1ac5
add missing <sys/stat.h>
2017-01-10 20:43:08 +00:00
christos
bb7174741f
need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h>
2017-01-10 20:41:40 +00:00
christos
fa60103ea6
ned stat.h
2017-01-10 20:40:53 +00:00
christos
7c2c9f2e62
add <stdio.h>
2017-01-10 20:35:49 +00:00
christos
1aeddccb19
add a couple of lint comments.
2017-01-10 20:32:27 +00:00
christos
2c1d98b710
missing <sys/stat.h> include.
2017-01-10 20:29:48 +00:00
christos
4ad16b3e7c
PR/51814: Ngie Cooper: add <stdio.h> since sys_nerr is declared there on
...
FreeBSD.
2017-01-10 20:25:48 +00:00
christos
995970bea7
Needed <sys/time.h> that it got in the past by side-effect loading
...
of <sys/stat.h> from <fcntl.h>. Go figure.
2017-01-10 20:08:52 +00:00
christos
3391c5f1a7
fix a few warnings.
2017-01-10 19:20:34 +00:00
christos
4476579893
KNF, simplify expressions for readability.
2017-01-10 17:51:01 +00:00
christos
46629f8e5f
pacify lint.
2017-01-10 17:50:24 +00:00
christos
6ddfa6c010
simplify cast.
2017-01-10 17:46:47 +00:00
christos
01b3cff52b
add missing cast.
2017-01-10 17:46:26 +00:00
christos
56572bf5f5
cast for size_t
2017-01-10 17:45:58 +00:00
christos
14501124c4
use correct type for poll
2017-01-10 17:45:27 +00:00
christos
3707fb92bc
include <sys/stat.h>
2017-01-10 17:45:12 +00:00
christos
d472a9154a
add constcond
2017-01-10 17:44:51 +00:00
christos
f8af623337
add linted comment
2017-01-10 17:44:28 +00:00
maya
3b4ebb08a0
-Wa,--fatal-warnings is a GCC flag and unknown to clang. make it
...
GCC specific, so we can (try to) build a kernel with higher WARNS
using clang.
2017-01-10 17:16:19 +00:00
christos
93438ac9dd
Need <sys/stat.h>
2017-01-10 17:00:58 +00:00
christos
ef5b9db358
need <sys/stat.h>
2017-01-10 16:51:30 +00:00
maya
674799e3e9
remove duplicate include.
...
(also move so it is alphabetical, hence the weird diff)
2017-01-10 15:43:59 +00:00
christos
0480186ded
PR/51815: Ngie Cooper: don't leak dlopen'ed handle
2017-01-10 15:34:49 +00:00
christos
149b98196c
PR/51813: Ngie Cooper: don't leak fd :ttyname_err
2017-01-10 15:33:40 +00:00
christos
91da771057
PR/51812: Ngie Cooper: According to ToG gettimeofday() needs <sys/time.h>
2017-01-10 15:32:46 +00:00
christos
5ab764b7d2
PR/51811: Ngie Cooper: Fix include file portability.
2017-01-10 15:31:11 +00:00
christos
ace355e4b5
PR/51810: Ngie Cooper: don't leak buf
2017-01-10 15:20:44 +00:00
christos
894b1b2f4d
PR/51809: Ngie Cooper: fix file descriptor leak
2017-01-10 15:19:52 +00:00
christos
d78006e887
PR/51808: Ngie Cooper: fix leaks, sort includes, check returns
2017-01-10 15:19:00 +00:00
christos
473b6e44f3
PR/51807: Ngie Cooper: disable core file generation in :assert_false,
...
:assert_true
2017-01-10 15:17:57 +00:00
christos
55dbe9a7ba
PR/51806: Ngie Cooper: Only run the vis locale test if VIS_NOLOCALE is defined
2017-01-10 15:16:57 +00:00
christos
92841acfb9
PR/51805: Ngie Cooper: Fix file descriptor leaks
2017-01-10 15:15:09 +00:00
christos
e76b723bff
PR/51804: Ngie Cooper: Sort headers; include <sys/stat.h>. On NetBSD,
...
<sys/stat.h> gets side-loaded from <sys/fcntl.h>. Should be fixed.
2017-01-10 15:13:56 +00:00
christos
29c143f657
include <unistd.h> for close, pipe, dup2 etc.
2017-01-10 13:53:26 +00:00
christos
ce41637aeb
Build magic.h before all objs.
2017-01-10 13:51:36 +00:00
skrll
6093e5eae2
binutils 2.26 is no more.
2017-01-10 13:47:18 +00:00
joerg
1230251f55
Bump image size a bit for the clang build.
2017-01-10 13:35:44 +00:00
roy
545dbcc586
When doupdate is called, check for typeahead input after N lines changed
...
instead of aborting really early.
This allows some screen update when holding the page down key for example.
2017-01-10 10:33:49 +00:00
roy
25445577c0
Implement POSIX curses function ripoffline(3).
2017-01-10 10:13:24 +00:00
cherry
94ed870bbb
While reserving memory at boot time via uvm_physseg_unplug(9),
...
in the case of a disappearing segment (due to a segment sized msgbuf)
make sure segment offsets are read off before the segment disappears.
This should fix some of the recent boot time hard resets reported on
i386 recently.
Thanks to kre@ for pointing this out to me.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2017-01-10 09:48:22 +00:00
roy
5714904ce2
Test for __ISPASTEOL when moving the cursor and it hasn't moved.
...
Unset __ISPASTEOL when moving the cursor during refresh.
2017-01-10 09:32:01 +00:00
msaitoh
3370e40e09
remove debug printf().
2017-01-10 08:57:39 +00:00
msaitoh
c1c625981d
Fix previous. The last code wasn't called.
2017-01-10 08:56:02 +00:00
ozaki-r
7f1388a5d2
Add softnet_lock to if_link_state_change_si
...
Fix
panic: lock error: Mutex: mutex_vector_exit: assertion failed:
MUTEX_OWNER(mtx->mtx_owner) == curthread
at callout_halt <= arp_dad_stop <= in_if_link_down.
2017-01-10 08:45:45 +00:00
nonaka
828cd2070c
check LAR support in NVM for 8260/4165.
2017-01-10 08:40:27 +00:00
knakahara
5e94416e6b
sc->sc_core_stopping must be checked with holding sc_core_lock.
...
pointed out by ozaki-r@n.o, thanks.
2017-01-10 08:22:43 +00:00
knakahara
23e409fe79
avoid double rtcache_unref().
...
reviewed by ozaki-r@n.o.
2017-01-10 07:39:52 +00:00
nonaka
e82ddf504e
Add apmg_wake_up_wa support from DragonFly BSD.
2017-01-10 07:34:04 +00:00
abhinav
fe8fae7920
Add missing word.
2017-01-10 06:28:46 +00:00
ozaki-r
e23687f598
Test netstat -i -a and ifmcstat
2017-01-10 05:55:34 +00:00