Commit Graph

113329 Commits

Author SHA1 Message Date
kleink
4f95ecd71a KNF example: NULL vs. 0, space after switch. 2003-05-29 17:48:49 +00:00
yamt
85d0052723 workaround for UBC limit.
while our nfsd announces MAXBSIZE as wtmax for tcp,
VOP_GETPAGES of filesystems that uses genfs_getpages can't
handle >= MAX_READ_AHEAD(16) pages at once.
therefore, depending on PAGE_SIZE of the machine and file offset of
a read request, we can't VOP_GETPAGES the range at once.
2003-05-29 15:18:14 +00:00
he
3812b817f3 Add back in man3/readdir.3 lost in previous commit. 2003-05-29 11:11:40 +00:00
hannken
5c19a0665c Change "%qu" to "PRIu64" to make it compile on sparc64. 2003-05-29 08:13:41 +00:00
simonb
d3706e51e4 Remove some useless comments. 2003-05-29 03:53:57 +00:00
gson
f60f21cf0b The remaining capacity percentage was incorrect for batteries larger than
21.47 Wh becaue of integer overflow.
2003-05-29 02:47:49 +00:00
simonb
0ddc5a67fd KNF nit. 2003-05-29 02:22:51 +00:00
fair
1f49a3d273 Add many missing categories. 2003-05-29 01:22:19 +00:00
kristerw
2a9882e7e9 Be consistent with use of types (e.g. do not use LINENUM for quantities
that are not line numbers).
2003-05-29 00:59:23 +00:00
kristerw
a5348cc746 Remove a duplicated entry. 2003-05-28 23:14:03 +00:00
nathanw
a86930707b Expand the test in itimerfire() to only wake up an idle SA LWP if the
process isn't stopped.
2003-05-28 22:27:57 +00:00
nathanw
998110e1d0 Put the tsleep() call in sa_yield() inside a while loop that tests
whether there is anything to do - almost as if it were a predicate
test outside of a condition wait. This prevents returning to userland
when tsleep() has woken up spuriously, such as from a signal that was
caught and then removed by a tracing process.

Kills off some double-stops in GDB due to signals as well as a couple
of pthread__idle assertions when detaching from a process.

XXX stopping inside tsleep, via CURSIG(), is evil.
2003-05-28 22:17:20 +00:00
kristerw
370fc7eb10 Use __asm instead of asm, to make lint happy. 2003-05-28 21:35:13 +00:00
kleink
45586dc2f9 Need <string.h> for memcpy(). 2003-05-28 21:08:23 +00:00
dsl
b5a44ece1f Look at mode of program being run, not of ldd when deciding whether to
use LD_LIBRARY_PATH.
2003-05-28 20:45:39 +00:00
kleink
9a398ec067 Add restrict qualifiers to previous. 2003-05-28 20:28:37 +00:00
christos
fa46624bca add readdir_r alias 2003-05-28 20:22:55 +00:00
dsl
386a8e5059 Don't restartwin() if it isn't stopped.
Ensures we don't save the modified tty flags (as well as doing all the
initialisation twice) if the application (eg systat) calls curses functions
in its own restart code.
2003-05-28 20:19:42 +00:00
dsl
31cb6aba03 Reinstate our STOP handler before curses installs its one.
Ensures that both handlers are executed on subsequent stops.
2003-05-28 20:17:14 +00:00
christos
04413cc928 readdir_r + libc bump. 2003-05-28 20:07:46 +00:00
christos
1e1359c7d6 agent 99 2003-05-28 20:06:22 +00:00
christos
6c15d5ed81 expose DIRENT_SIZE to userland if _NETBSD_SOURCE 2003-05-28 20:04:48 +00:00
christos
0cc4f4a69e add mutex locking and dirent_r. 2003-05-28 20:04:12 +00:00
christos
9af7135771 add mutex locking for directories and readdir_r(3). Influenced by FreeBSD. 2003-05-28 20:03:37 +00:00
dsl
cb9a14ea0b Report ioctl read and write the correct way around. 2003-05-28 20:02:59 +00:00
christos
c8042cb209 no need to declare __isthreaded. 2003-05-28 19:57:22 +00:00
christos
210944c7de Add /proc/<pid>/stat for linux compat. j2sdk1.4.2 depends on it. 2003-05-28 18:03:15 +00:00
taca
e1d53fb73f cvs 1.11.6 released. 2003-05-28 13:48:03 +00:00
christos
a23e290bac Specify the interface where to place the default route, otherwise we sometimes
can put it in the wrong place.
2003-05-28 13:43:26 +00:00
kleink
9d85c4a5f8 Add ETIME, per POSIX-2001. 2003-05-27 22:37:33 +00:00
itojun
f46a719b5c can't use M_WAIT here, i believe. 2003-05-27 22:36:38 +00:00
itojun
01c8c2e99a - don't use M_WAIT within splnet.
- retain m_pkthdr for mbuf passed down to ifp->if_output.
  pointed out by is@netbsd
2003-05-27 22:27:21 +00:00
wiz
53588c2a8b Back this out until I know why it does not work. 2003-05-27 21:43:32 +00:00
fvdl
3e4b8e3852 Another pair of locks to pacify UVM (XXX -- not needed). 2003-05-27 20:05:35 +00:00
wiz
43075c01c6 Use && instead of ; to only overwrite a file if the corresponding sed worked (from christos).
Add .cpp rules.
2003-05-27 19:32:18 +00:00
wiz
f338b31357 Add .cpp dependency rules. 2003-05-27 19:30:45 +00:00
christos
ecaad897e4 make this compile again with -DDEBUG 2003-05-27 16:46:16 +00:00
christos
f74633f4ed another dependency on assym.h 2003-05-27 16:46:03 +00:00
christos
143f5a277a pass lint:
1. add new pthread__abort() and change pthread_assert(0) to it.
2. put constcond in the right place (in the macro).
3. no space after pthread__assert macro.
2003-05-27 15:24:24 +00:00
christos
4e29fa8276 add missing notreached lint comment. 2003-05-27 15:22:56 +00:00
yamt
d36494e29b fix a memory leak bug that i introduced in rev.1.167.
patch provided by enami tsugutomo on current-users.
2003-05-27 14:41:06 +00:00
thorpej
119837ff52 Fix handing of -ve hexadecimal numbers in the %i format. Fixes
PR lib/21691.  Patch from Simon Burge.
2003-05-27 14:32:29 +00:00
yamt
60990de075 sync with reality and more note. (MEXTADD) 2003-05-27 13:04:25 +00:00
scw
6fab97c614 Add an option to control whether the GT's internal PCI Arbiter should
be enabled or not.
2003-05-27 11:39:50 +00:00
simonb
2a2748044b Fix tyop in a comment. 2003-05-27 09:03:46 +00:00
wiz
363facc46e Remove .Pp before .Sh. 2003-05-27 04:55:34 +00:00
itojun
1fc7a4943e correct bad RFC ref. KAME problem report 480 2003-05-27 02:37:24 +00:00
itojun
c337d7850f remove reference to draft-mcdonald-*, as we actually implement different API
from the document.
2003-05-27 02:31:58 +00:00
fvdl
d9f47e809c free the ext2fs dinode struct in ext2fs_reclaim. From Ted Unangst. 2003-05-26 21:22:19 +00:00
martin
b812b130a9 Remove commented out and nowadays incorrect KGDB declarations. 2003-05-26 21:12:07 +00:00