Commit Graph

15836 Commits

Author SHA1 Message Date
rmind 8b1b6a9a1f Add Makefile in libc for murmurhash, missed in previous commit. 2012-07-08 11:43:47 +00:00
rmind ea196989a7 Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby.
The code is taken from the upstream and is in the public domain.

OK christos@
2012-07-08 01:21:11 +00:00
matt 90845bcc64 Slight optimization. 2012-07-08 00:59:34 +00:00
joerg 39c83c81bb One more reference to unimplemented shared semaphores. 2012-07-07 01:39:59 +00:00
joerg cf1cc428c9 Shared semaphores have been supported since the initial version, so drop
obsolete restriction.
2012-07-07 01:37:12 +00:00
wiz 76576e4292 Sort description of flags. 2012-07-02 20:02:43 +00:00
rmind 33b678d7e0 NPF improvements:
- Add NPF_OPCODE_PROTO to match the address and/or protocol only.
- Update parser to support arbitrary "pass proto <name/number>".
- Fix IPv6 address and protocol handling (add a regression test).
- Fix few theorethical races in session handling module.
- Misc fixes, simplifications and some clean up.
2012-07-01 23:21:06 +00:00
jdf 6f43071798 Replace wrong variable type (s/ITEMS/ITEM). 2012-06-30 09:25:55 +00:00
yamt b4228b70f2 implement descriptor passing. 2012-06-29 13:20:25 +00:00
blymn 74bbb55e87 * Size argument for memset when clearing cbuf was wrong, cbuf is an array
of char not int so memset was stomping memory past the end of the array.
  Use sizeof properly to correctly determine the amount of memory to clear.
2012-06-29 10:40:29 +00:00
abs f8f196e8f9 Fix the build by adding (unused) flags argument to perfuse_node_setattr_ttl 2012-06-28 13:53:13 +00:00
jdf dfc0f5280b Add manpage link entries for libmenu, reformat MAN entry.
On the way, sort the mi list for comp alphabetically.
2012-06-27 22:18:06 +00:00
wiz db0ea5f9de Bump date for previous, remove trailing whitespace. 2012-06-27 20:30:52 +00:00
manu d1056538cc Pass the FAF flag to handlers:
- setattr_ttl is updated to add a flag argument. Since it was not present in
  a previous release, we can change its API
- write2 is introduced, this is write with an extra flag for FAF.
- fsync already has the FAF information in a flag and needs no change
- for other operations, FAF is unconditional
2012-06-27 13:25:23 +00:00
blymn c915e1430c * Corrected menu drawing when O_ROWMAJOR is not set
* Corrected menu item neighbour calculation so it works when O_ROWMAJOR
  is set and unset.  This corrects item navigation which was previously
  broken when O_ROWMAJOR was not set.

This resolves lib/46620.
2012-06-27 11:53:36 +00:00
blymn e50cb73fff Extraneous whitespace removal. 2012-06-27 11:39:14 +00:00
abs 9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
christos 3d365e7447 fix old style definitions; XXX: gcc should have picked them up but it did not. 2012-06-24 15:26:02 +00:00
dholland 069a188b26 "appeared in", not "appeared on". 2012-06-23 05:47:50 +00:00
wiz 2c4ba053cf Replace nonexistant Lx macro. Use full NetBSD version for Nx. 2012-06-22 22:54:26 +00:00
wiz 0355356981 Fix macro. Replace another one (there is no .Lx). Use full NetBSD version. 2012-06-22 22:54:09 +00:00
wiz 10258cb7fe Remove trailing whitespace. Sort errors. Bump date for previous. 2012-06-22 22:49:03 +00:00
wiz efd86e84be Remove trailing whitespace. Use more markup. Bump date for previous. 2012-06-22 22:48:37 +00:00
christos 0826c9ae0a {send,recv}mmsg glue 2012-06-22 18:28:38 +00:00
enami b305b415b4 All error path must go through the free function call after an
allocation of resolved path might succeeded.
2012-06-21 23:29:23 +00:00
wiz 6391074f79 Drop trailing whitespace and avoid xr to itself. 2012-06-21 21:35:25 +00:00
christos 53094c09c8 PR/46618: Onno van der Linden: realpath(3) isn't SUSv4 compliant (and causes
flactag 2.0.4 to dump core). Fix to accept a NULL argument for resolvedpath.
2012-06-21 21:13:07 +00:00
joerg c91e3eb75b Unbreak compat. 2012-06-16 19:19:14 +00:00
joerg ee99db43bc Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
MACHINE_ARCH.
2012-06-16 18:19:39 +00:00
joerg 74a7f3e6f2 Do not mark pthread_cond_timedwait explicitly as inlineable, since it
calls pthread__self, which is static.
2012-06-15 19:20:44 +00:00
manu 574c09729f Fix memory leak when we discard a voided setattr operation 2012-06-14 05:58:22 +00:00
manu 08f6c5569f Fix memory leak on setattr 2012-06-13 01:45:56 +00:00
jdf 3a6070abd3 Use correct macro (.Nm is only used within the NAME section, for section 3
manpages).

Patch provided by Bug Hunting.
2012-06-12 21:16:17 +00:00
joerg 1849ce1af3 Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
2012-06-12 18:17:04 +00:00
christos 3ffb571495 mention .Nx 7.0 2012-06-10 00:24:36 +00:00
njoly 5b87e47d83 Consistently use major/minor for NetBSD version. 2012-06-09 22:49:18 +00:00
christos 394bbc132e PR/46571: Yui NARUSE: execinfo.h should include stddef.h 2012-06-09 21:22:17 +00:00
christos 4b9b559fe8 describe RLIMIT_NTHR 2012-06-09 02:36:25 +00:00
abs 7d974f9a82 ANSI prototypes 2012-06-08 11:13:33 +00:00
martin 4df6c44b48 Henning Petersen in PR lib/46561: cosmetic change: avoid self assignement. 2012-06-08 07:54:14 +00:00
martin 5d7ba3d813 Henning Petersen in PR lib/46560: fix memory leak in error path 2012-06-08 07:49:42 +00:00
joerg 2f2f99b48a Relax consistency to make it possible to match valid entries. 2012-06-06 13:36:58 +00:00
wiz 1728003ef9 Bump date for previous. 2012-06-05 17:22:01 +00:00
manu 1d0360b1c9 Add placeholder so that we can later add allbacks without breaking the ABI 2012-06-05 15:04:18 +00:00
martin f8fdd418df Measure kinfo_proc2::p_vm_vsize in pages, as it was always documented.
This value seems to never have been used anywhere.
This makes it consistent with it's cousin p_vm_msize (which is in pages as
well and has several uses).
2012-06-05 08:23:05 +00:00
christos f2d8e54f16 don't crash if add_history is called from an empty line. Called from
nslookup in new bind.
XXX: pullup to 6
2012-06-05 00:30:22 +00:00
joerg 02682f7d23 ANSIfy 2012-06-04 20:56:40 +00:00
joerg 1fa9b84508 Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
wiz cad559dd33 Fix typos. 2012-06-04 00:26:29 +00:00
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00