Commit Graph

107924 Commits

Author SHA1 Message Date
enami 23066b7faf Advance a pointer correctly. 2003-01-22 03:13:32 +00:00
lukem 8d469d6c4b use ftp(1) instead of lukemftp 2003-01-22 02:58:16 +00:00
lukem b489ebc3bf need bsd.own.mk for NETBSDSRCDIR 2003-01-22 02:56:30 +00:00
grant 1ba646ba74 add usr/bin/progress and man pages (hi, jhawk!). 2003-01-22 00:29:42 +00:00
jhawk 39ffd8d76c make progress(1) 2003-01-22 00:16:39 +00:00
jhawk 98f6cccbef progress(1) is a standalone version of lukemftp's progress bar
(pulled in via reachover makefile) suitable for measuring the
input to arbitrary pipes.
This is intended for use by sysinst.
2003-01-22 00:14:12 +00:00
keihan d7a3ec11fd TYPO:
bounary => boundary

Reviewed by Luke Mewburn.
2003-01-21 23:50:05 +00:00
nathanw dc651e62df Don't bother acquiring the tsd_lock and reading the destructor function
if the corresponding TSD entry is empty.

Cuts down lock/unlock pairs for this operation from 256 to the number
of active TSD entries; sicne this is done when every thread exits, it saves
many total lock/unlock pairs.
2003-01-21 23:29:22 +00:00
nathanw 6003a24dd4 Use recursive mutexes from libpthread rather than implementing
our own with normal mutexes and condition variables.
2003-01-21 23:26:02 +00:00
wiz 831ba492c3 Replace -1 with \-1 for PostScript output; drop a trailing space and fix two typos. 2003-01-21 23:00:56 +00:00
is cc76c3867a Use a neutral error message - the details have been printed already, and
the older message is plain wrong under some circumstances. See PR 5398,
which is fixed.
2003-01-21 22:47:20 +00:00
jdolecek fe21ba6c7f comment out static prototype for pci_intr_fixup_ibm_6040() for now,
it's not implemented here (nor used)
2003-01-21 22:01:57 +00:00
jdolecek 225c76a84a add prototype for switch_lwp_exit() 2003-01-21 21:59:49 +00:00
kleink 8b314175ec Add ns32k ucontext userland portions. Untested, but compiled in the
recent past and presumed working.
2003-01-21 21:03:25 +00:00
augustss 0dd40ac3d5 Fix typo in last commit. 2003-01-21 21:00:56 +00:00
augustss 98a0fdb690 Make sure to set xs->datalen when we force a short inquiry. From kern/19971,
Shingo WATANABE.
2003-01-21 20:56:57 +00:00
augustss fa5b0c9ca0 Add quirk for Melco adapter. From kern/19971, Shingo WATANABE. 2003-01-21 20:56:13 +00:00
augustss 9c6ee93f4b Regen. 2003-01-21 20:53:51 +00:00
augustss 234e556fd2 Add Melco USB-IDE adapter. 2003-01-21 20:53:29 +00:00
kleink d6d8fabf91 Add <pc532/mcontext.h>. 2003-01-21 20:52:58 +00:00
kleink 2726c9bbeb Add ns32k ucontext kernel portions. Not entirely updated for the LWP
universe (like the rest of the port), but presumed working.
2003-01-21 20:50:43 +00:00
martin fbc8c025c2 Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library, as well as with the v8 one.
2003-01-21 20:42:02 +00:00
bouyer 099e41a34e Pass proper len to word_zero().
Bump totlen in the last wantsbyte case, so that it's always even.
Both pointed out by Gunther Nikl.
2003-01-21 20:39:29 +00:00
kleink 7a9f64971b Add swapcontext() lint stub. 2003-01-21 20:26:10 +00:00
kleink cd9f53e12c Add swapcontext() lint stub. 2003-01-21 20:14:07 +00:00
martin 8772c68807 Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library.

Spotted by Valeriy E. Ushakov.
2003-01-21 19:46:49 +00:00
kleink a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
erh f3281c94bd Return the correct exit status in the trap handler so errors get caught.
Also make sure the status is less than 256.
2003-01-21 19:07:05 +00:00
christos f24857bf36 Add a uniquefier for the history function. 2003-01-21 18:40:23 +00:00
martin 46ca961c02 Let v9 machines (ultras running sparc64 32bit kernels) use the v8
library too.
2003-01-21 18:15:54 +00:00
kleink fb7df61857 Sprinkle some restrict. 2003-01-21 17:45:04 +00:00
christos 98e93eb66e fix directory descriptor leak [from michael at moria dot de] 2003-01-21 17:41:38 +00:00
jhawk 401927b1d5 Abstract out progress bar support into progressbar.[ch], for inclusion
in external programs (conditionalized on -DSTANDALONE_PROGRESS).

The following moved from util.c to progressbar.c:
  alarmtimer(), progressmeter(), psummary(), ptransfer(),
  xsignal(), xsignal_restart()

The following moved from extern.h and ftp_var.h to progressbar.h:
  STALLTIME, verbose, fromatty, progress, quit_time, ttywidth
2003-01-21 16:08:06 +00:00
kent 19056063ce Add DIAGNOSTIC code provided in PR kern/19919 by DHOYASHIKI Shinichi. 2003-01-21 16:05:21 +00:00
wiz c7aab7fab8 Warn if Rv has no function name argument. 2003-01-21 15:40:02 +00:00
kleink 6279465ec2 Add <machine/mcontext.h> wrapper. 2003-01-21 14:39:35 +00:00
abs cb588f7bde Among the many things postinstall should check are up to date is... postinstall 2003-01-21 14:28:55 +00:00
wiz 0c18ab1d39 sigaltstack(2), not (3), and same for sigprocmask. From kleink. 2003-01-21 14:21:47 +00:00
christos aa30f99ab5 - add $NetBSD$
- include <sys/cdefs.h>
- remove variable names from args
2003-01-21 14:11:31 +00:00
wiz f3095c7e49 New dhcp versions out: 3.0pl2 and 3.0.1rc11. 2003-01-21 13:57:14 +00:00
kleink 38233ac58c G/c orphaned declaration of `runtime'; from HAMAJIMA Katsuomi in
PR kern/19974.
2003-01-21 13:56:53 +00:00
wiz c09d00bead Add ucontext(5). 2003-01-21 12:44:36 +00:00
wiz 9a9986e251 Add ucontext(5) from Klaus Klein. 2003-01-21 12:43:13 +00:00
wiz 7c49e373d6 Add makecontext(3) and swapcontext(3). 2003-01-21 12:41:27 +00:00
wiz 9b5abffe9d Add makecontext(3) from Klaus Klein. 2003-01-21 12:39:08 +00:00
kleink 95893ccc7b Need <sys/cdefs.h>. 2003-01-21 12:27:11 +00:00
wiz ab206b65a6 New sentence, new line. 2003-01-21 11:48:03 +00:00
wiz 2caa76989f Replace -1 with \-1. 2003-01-21 11:47:32 +00:00
scw ff288f9424 Make these compile. 2003-01-21 11:31:38 +00:00
scw 980dea552e Add _UC_USER_BIT. 2003-01-21 11:30:52 +00:00