Commit Graph

10435 Commits

Author SHA1 Message Date
christos 3b9e5891ba fix typo (Silas Silva) 2009-05-28 14:57:42 +00:00
snj a1602d4a22 Fix some longstanding typos and remove an entry that is both redundant
and wrong at the same time.
2009-05-27 17:17:03 +00:00
ad d991fcb3b6 More changes to improve kern_descrip.c.
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
plunky 9b85369a0a use system provided MAX(a, b) macro instead of defining our own 2009-05-21 14:44:01 +00:00
christos ebd7e1e10a catch up with rtld changes 2009-05-20 16:20:01 +00:00
wiz 8ab6f9e454 Sort options. Sort sections. Remove superfluous .Pp. 2009-05-18 12:03:06 +00:00
wiz ea548d35a5 Sort options. 2009-05-18 09:37:44 +00:00
christos 434ce22684 fix dependencies. 2009-05-16 21:37:48 +00:00
plunky bbb0e93abb add a -P flag to attempt immediate pairing 2009-05-16 07:18:42 +00:00
wiz 7560090357 Whitespace fix. 2009-05-13 22:56:42 +00:00
cube d502f7a8c0 Dependency on config_time.src was removed today from Makefile.kern.inc, so
starting from that date it's not necessary to create it.  (Of course that
won't happen until config version is bumped for some other reason.)
2009-05-13 18:54:34 +00:00
wiz b0f5ac9634 Add missing apostrophe. 2009-05-12 18:54:31 +00:00
plunky a092292999 update rfcomm_sppd to use the new Service Discovery API 2009-05-12 18:43:35 +00:00
plunky 1b7404b7aa update to use the new service discovery API 2009-05-12 18:39:55 +00:00
plunky 384153c15a update sdpquery with a newer version that fetches the whole service
record and displays it in a human readable fashion.
2009-05-12 18:37:50 +00:00
plunky b2f181453f this needs libsdp no more 2009-05-12 13:15:10 +00:00
plunky 8cea406d3c does no longer need libsdp 2009-05-12 13:13:34 +00:00
plunky cf71b1e8c5 no longer needs libsdp 2009-05-12 13:11:18 +00:00
christos 108470e3b9 unhook file 2009-05-08 17:47:00 +00:00
wiz 0407c1b885 Add support for -S and -s option, which limit the results to a specific
architecture or section, respectively.
Based on a patch for OpenBSD from Ingo Schwarze, modified for NetBSD by me.

Add some constification.

Ok lukem@ (to the non-constified version of the patch).
2009-05-08 12:48:43 +00:00
plunky 8650959ae7 ensure that sdpquery continues to build while I am in progress of
updating Service Discovery Protocol API
2009-05-07 18:12:08 +00:00
plunky 539b5ab318 Ensure that these programs continue to build while I am in the
process of updating the Service Discovery Protocol API.
2009-05-07 18:08:55 +00:00
ginsbach 3cad8d1d2c Add support for hyper and quad keywords. (See Sun ONC+ Developer's Guide
and RFC-4506 for additional details.)  [From FreeBSD and OpenSolaris]
2009-05-06 14:30:51 +00:00
wiz b6359ce897 Punctuation. 2009-05-04 21:13:58 +00:00
wiz a44b9acd01 Use Sx. Remove superfluous .Pp. 2009-05-04 21:11:53 +00:00
wiz d8c85176f3 New sentence, new line. 2009-05-04 19:45:51 +00:00
mlelstv 0a0ecc0e52 make flushpendq drop only entries for the current thread. 2009-05-02 21:01:01 +00:00
christos 24132af2b3 PR/41338: Michael van Elst: ktruss mixes filename arguments
Restore call to dumppendq.
2009-05-02 18:26:53 +00:00
christos 1a90c89fed Add __alignof__. 2009-05-02 16:10:49 +00:00
christos 6892362adf add variable declarations in for loops for c99 2009-05-01 22:03:36 +00:00
wiz 52d9a489d1 Bump date for previous. 2009-05-01 21:38:19 +00:00
apb be7721cd8f Add support for writing sha256, sha384, and sha512 digests to
a metalog.  mtree(8) has supported these for a long time.
2009-05-01 20:16:23 +00:00
christos ba99a2b3a4 PR/41313: Chris Spiegel: getutentries() in src/usr.bin/who/utmpentry.c thinks
there are no entries if only one of utmp/utmpx support is selected
mangled && -> ||
2009-05-01 14:26:10 +00:00
snj eced0c510c Bah, fix typo in last: 2006, not 2005. 2009-04-30 16:23:58 +00:00
snj 78ee216a46 Add NetBSD 3.1. 2009-04-30 16:20:50 +00:00
wiz 749e1a3b98 void tabs, for consistency. 2009-04-29 22:34:31 +00:00
snj 215e6d35e2 NetBSD 5.0. 2009-04-29 22:25:03 +00:00
yamt a26c5cc0c2 remove read-write code because it's dangerous.
there's no point to try this hard anyway.
2009-04-28 02:47:12 +00:00
ginsbach 5fabed93f9 Print left and right type and not left type twice. (Hi Christos!) 2009-04-27 15:08:10 +00:00
christos c37383f14b fix broken overflow test. 2009-04-26 15:55:50 +00:00
lukem a60f776aae Revert incorrect change made as part of the WARNS=4.
Fixes "ftp host [port]" on the CLI.
Noted by Geoff Wing.
2009-04-24 08:57:26 +00:00
tsutsui c37f283f47 Fix -Wcast-qual and -Wsign-compare issues. 2009-04-23 14:49:32 +00:00
drochner 0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
drochner 3f2cf355d3 if YY_NO_INPUT is defined, disable not only the declaration but also
the definition of yyinput(), avoids compiler warnings with newer gcc.
from Kurt J. Lidl per PR misc/41160, with a minor change to make it
generate paired #directives in the "-+", ie c++, case
2009-04-20 16:01:17 +00:00
tsutsui e7f34be0d2 Fix another -Wsign-compare issue.
XXX: is it really worth to keep non native aout/coff/ecoff support here?
2009-04-18 11:30:30 +00:00
dogcow 7aaa51f5d6 Fix sign/unsigned and discards qualifiers. Based on patch by mlelstv. 2009-04-18 10:12:42 +00:00
mlelstv 333d9d13b5 avoid compiler warnings about shadowed declarations. 2009-04-18 09:04:34 +00:00
lukem efa035ed26 Compare size_t vs off_t by casting both to uintmax_t 2009-04-18 06:24:05 +00:00
lukem d96ab870e3 Attempt to fix previous to address a coredump. 2009-04-18 03:25:34 +00:00
dyoung f853fb7538 Rename variables to fix GCC warnings: local variables optopt and optarg
shadow globals.
2009-04-17 20:25:08 +00:00