Commit Graph

113697 Commits

Author SHA1 Message Date
dsl
eb9a70f8fb Another mistake in the ufs2 code - a missing else. 2003-05-30 09:22:50 +00:00
kleink
8929f86e50 Delint a use of uintptr_t; not strictly necessary with -current lint(1),
but consistent with makecontext.c.
2003-05-30 07:23:25 +00:00
simonb
94582f47bd #define<tab> 2003-05-30 06:41:00 +00:00
fair
3c344189a4 More completely document the bootstrap flags accepted by the NetBSD
secondary bootstrap and the NetBSD kernel. Document SRM a little more.
I think this satisfies PR 20557.
2003-05-30 05:34:46 +00:00
minoura
9e27136527 Correct some Japanese entries.
- Add New Year's Day
  - Adults Day -> Coming-of-Age day
  - Girl's Day is not a holiday
  - Constitution Day is 5/3
  - There's no Boy's Day on 5/1; maybe 5/5? (which is now Children's Day)
  - Add Ocean Day (7/20)

Need sort?
2003-05-30 05:11:25 +00:00
simonb
dbf00ebd13 Use the date I committed this, not the date I originally came up with
the changes.
2003-05-30 02:22:23 +00:00
matt
e7559eb17d Use proper shift marcos for EXT. This makes the PHY on i83543 get
recognized.  From Doug Donsbach <dldonsbach at tds dot net>
2003-05-30 02:08:55 +00:00
itojun
7cc3e999f7 inherit IPV6_V6ONLY from listening socket. PR 21713 2003-05-30 01:15:04 +00:00
simonb
ae46649fa5 Pass a NULL to getbsize() for any arguments that aren't needed, and
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
simonb
20a5af5edd Allow either parameter to the getbsize(3) function to be a NULL, in
which case it is ignored.
2003-05-30 00:12:09 +00:00
fvdl
afff857edc Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
2003-05-29 20:22:28 +00:00
nathanw
4ee0df68f2 Allocate and initialize dirp->dd_lock before calling telldir(), which
will try to lock it.

Addresses PR lib/21712.
2003-05-29 18:29:59 +00:00
christos
25cb0b1e94 de-lint pointer casts. 2003-05-29 18:15:25 +00:00
christos
7d2c2eeaea - make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
  in some platforms than others. We should really be looking for the
  particular tokens to enable this kind of checking. I.e.
  now:

	char *p;
	int foo = (int)p;

  does not produce a warning on INTPTR_IS_LONG == 0 platformas.
  In reality it should only elide the warning if:

	char *p;
	int foo = (intptr_t)p;

  but it is not that smart (yet).
2003-05-29 18:12:13 +00:00
christos
0328813526 Back to unsigned int and int for {u,}intptr_t, otherwise java has no chance... 2003-05-29 18:06:55 +00:00
dsl
c522fd9f62 partsize and partstart don't need to be globals 2003-05-29 17:54:22 +00:00
dsl
4ed96ba68a Use local partstart and partsize.
Add code that might let this code add the boot partition for the 2 ports that need it.
2003-05-29 17:53:24 +00:00
dsl
83067f27c6 psrtsize and partstart are only over used inside md_make_bsd_partitions,
use locals instead of globals.
2003-05-29 17:51:26 +00:00
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