Commit Graph

13375 Commits

Author SHA1 Message Date
dsl
f687cf7e68 If the current locale doesn't define the 'thousands' grouping info
then use sane defaults (',' every 3 digits).
Fixes PR/40714
2009-08-05 20:46:01 +00:00
joerg
eb96fdd9a2 ffs(3) lives in strings.h, so include the correct header. ANSIfy. 2009-08-05 16:08:00 +00:00
joerg
466a3e5dee Revert to revision 1.8. Blindly ignoring options is not acceptable
behavior and hides more problems than it is fixing.

Discussion:
http://mail-index.netbsd.org/current-users/2009/02/03/msg007761.html

Approved by: core@
2009-08-05 15:17:02 +00:00
pooka
6e1d010d65 supply proper flags to pager 2009-08-04 13:39:18 +00:00
pooka
1752ac9b33 If opening the device fails, skip etfs registration only if it is
because of ENOENT.  Otherwise, let the file system handle it.
2009-08-04 12:37:14 +00:00
wiz
835184f2b5 Formatting nits. 2009-08-03 22:13:47 +00:00
drochner
aa89e1b426 As noticed by Stathis Kamperis, the original implementation does not
always return the correct principal value (with real>=0).
(eg cacosh(ccos(1.0I)) was -1)
Replace by a more ground-up one which should do better.
2009-08-03 19:41:32 +00:00
plunky
bd42c2e8d0 Add bt_dev(3), an platform neutral API for accessing (locally configured)
Bluetooth devices, and bump libbluetooth minor version.

This is a reimplementation of an API largely developed by Maksim Yevmenkin
on FreeBSD to make it easier to port BlueZ/Linux programs which depend on
something similar. Alas, the BlueZ/Linux API is incompatible and unportable
as it depends on a 'device' being referenced by an int, but this will
hopefully make it easier to port software using that.

(bump libbluetooth minor version)
2009-08-03 15:59:41 +00:00
pooka
d90603b573 fix errno reporting 2009-08-03 15:08:37 +00:00
pooka
8bf6866a3f * use new etfs interface
+ attempt to register only if we can stat() the devpath.  this works
    around e.g. nfs devpath, which is useless to register to etfs
    XXX: the caller should decide
2009-08-03 14:24:58 +00:00
dsl
d3c3d024a7 bzero.S defines memset(), so exclude memset.c 2009-08-03 06:26:41 +00:00
dsl
af129c0bc8 bzero.S also defines memset(), so exclude memset.c 2009-08-03 06:25:34 +00:00
dsl
8190cfe5fa Don't remove imaxdiv.c 2009-07-31 20:54:35 +00:00
dsl
10ad5ffa71 Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
2009-07-31 20:39:59 +00:00
dsl
027bacee22 Use a 'register only' str[c]spn() on 64 bit systems. 2009-07-30 21:42:06 +00:00
dsl
f0a25cf095 Stop bcopy.c and bzero.c being compiled 2009-07-30 21:26:36 +00:00
dsl
0d34d14bb9 If SRCS contains any .S files then remove the corresponding .c file from
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
2009-07-30 20:57:15 +00:00
christos
304c3bd293 fix debugging build. Hi Roy! 2009-07-28 18:38:43 +00:00
tls
3a2b6e4519 According to the libevent 1.4.12 change announcement, problems have been
observed with GCC 4 and strict-aliasing in the libevent code.  Add
-fno-strict-aliasing to work around this (same thing libevent did
upstream).
2009-07-26 21:33:46 +00:00
christos
085c78fd1f Ignore comment lines in .editrc from Jess Thrysoee 2009-07-25 21:19:23 +00:00
plunky
ca5b4d6e1f add in definitions from the latest Service Discovery Assigned Numbers
document from www.bluetooth.com
2009-07-25 17:04:51 +00:00
wiz
fa52b0ad23 Bump date for previous. 2009-07-23 13:37:34 +00:00
dholland
3cfdfcef43 Clarify the description of the errno behavior, based on the recent
thread in tech-userlevel.
2009-07-23 02:54:27 +00:00
dholland
6687b6883d Mention, along with the behavior of succeeding system calls, the
normal behavior of succeeding library functions regarding errno.
(That is, they may leave arbitrary nonzero values in errno.)

Ok kleink@; related to PR lib/41567 as well as a recent thread on
tech-userlevel.
2009-07-23 02:31:56 +00:00
pooka
c39552c570 return proper errno from mount 2009-07-23 01:01:31 +00:00
alc
3831d4ed46 Bump date. 2009-07-22 22:54:15 +00:00
alc
2f42139c8e Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
the new value).

This change sync sysctl(3) and sysctlbtname(3) prototypes.

No objection on <tech-userlevel>
2009-07-22 22:53:41 +00:00
pooka
77d8bc0d04 delint 2009-07-22 21:05:30 +00:00
pooka
d51d08a74d * catch up with the ukfs changes
* leave mounted fs reference counting totally up to le coq grande
  and simply force an unmount if the kernel has decided the mountpoint
  is not busy
2009-07-22 20:49:28 +00:00
pooka
ee47269736 Since rump rootfs now supports creating directories, mount ukfs
mounts at the requested mountpoint instead of as the rump kernel
rootfs.  While doing so, generally convert everything to use system
calls instead of handcrafter rump interfaces (e.g. rump_sys_mount()
instead of rump_mnt_mount()).  This avoids a lot of unnecessary
fuss.

Change UKFS_DEFAULTMP from / to /ukfs and bump ukfs version.
2009-07-22 20:46:34 +00:00
kleink
9be4603670 Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust
documentation accordingly.

Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22 19:48:27 +00:00
christos
bafe66c2cc Only need path if we have issetugid... From Anon Ymous 2009-07-22 18:25:26 +00:00
roy
43d5eb454b Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.
2009-07-22 16:57:14 +00:00
christos
e304eddfd2 Don't depend on side effects inside an assert
From Michael Cook mcook at bbn dot com
2009-07-22 15:58:09 +00:00
christos
cfa16c6369 Fix memory leaks in error paths.
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:40 +00:00
christos
83965485c1 Always initialize nread since it is an out param.
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:00 +00:00
christos
17a17e3aeb Move filename to the scope it is being used.
From Michael Cook mcook at bbn dot com
2009-07-22 15:56:29 +00:00
wiz
f21bef181d Add comma in enumeration. 2009-07-22 07:07:27 +00:00
joerg
0578c2ad0f Move popcount et al to src/common and add popcount32/popcount64.
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
wiz
02079c4a1c Xref popcount(3). 2009-07-21 13:22:15 +00:00
wiz
345d7916c5 Fix typo, add comma in enumeration. 2009-07-21 13:21:41 +00:00
joerg
974b291a6c Add popcount(3) and the long and long long version. Name is inspired by
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
joerg
ed9dacacc0 Add HISTORY. 2009-07-21 12:40:52 +00:00
pooka
80f30aa223 Can't see any reason to stat() the .so before dlopen(), so get rid
of that call.  uses normal ldlib paths now
2009-07-21 00:19:57 +00:00
christos
cbeabf798d use new openssh tree 2009-07-20 18:01:41 +00:00
christos
6a7d49166f ssh has moved 2009-07-20 17:35:05 +00:00
christos
75efea6592 bump libcrypto and friends; OpenSSL abi change: do_cipher last argument
changed from u_int to size_t. Affects _LP64 only.
2009-07-20 17:30:52 +00:00
christos
8a00156352 use the proper libcrypto 2009-07-20 17:28:51 +00:00
joerg
d6e219476b Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash.  The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
skrll
8d8039fe60 libcrypto moved. 2009-07-20 12:16:37 +00:00