dsl
602976fff6
Ansify functions and remove __P/
2009-09-05 08:53:06 +00:00
dholland
9af4cd75f3
Add parentheses around a misleading string constant concatenation,
...
from (my own, very old) PR 36064.
2009-09-05 06:44:27 +00:00
apb
a9dda51fb1
Add cross references to new boothowto(9) man page.
2009-09-04 23:29:02 +00:00
pooka
de4fa6c51a
Build & install rumpdev, a device component for rump. It currently
...
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00
pooka
fd46b5b66c
install librumpcrypto component: kernel crypto routines
2009-09-03 12:33:54 +00:00
wiz
9e5519cfe8
Make HTML-ready.
2009-09-01 22:12:05 +00:00
elad
8fbf70d4eb
Add useful example program from
...
http://mail-index.netbsd.org/tech-kern/2009/09/01/msg006020.html
2009-09-01 22:01:48 +00:00
christos
461d0372fd
delete defined(sun), it could be invaded in the user namespace. Suggested
...
by mrg@
2009-08-31 00:05:43 +00:00
christos
5aa87ec494
use __sun || sun instead of _SunOS, from Jess Thrysoee
2009-08-30 15:41:05 +00:00
wiz
0e46e32aae
Note some restrictions for getdelim arguments noted by joerg.
...
Bump date.
2009-08-25 16:28:26 +00:00
dsl
11bcd8ad6a
The 'table' of character weights is allowed to be NULL.
...
The SETUP define sorts it out (in the slowest and nastiest possible way!)
Broken by rev 1.12 almost 10 years ago!
2009-08-21 20:49:50 +00:00
he
6218a6dafa
Introduce a new accessor macro N_NAME() to access the n_name field
...
in struct nlist, since it's accessed differently depending on
whether we do a.out or not. Use this macro as appropriate in the
nlist* functions.
Also replace some includes of <a.out.h> with <nlist.h>, to fix build
problem for mips.
2009-08-21 08:42:02 +00:00
he
f9dd8b23a6
Anoter instance of <sys/exec_aout.h> -> <sys/exec.h>.
2009-08-20 11:18:55 +00:00
martin
bc27f3e093
forward declare struct nlist before including nlist_private.h to avoid a
...
compiler warning.
2009-08-20 11:08:59 +00:00
he
4cf9cdf39a
Actually, when we really need the a.out defines from <nlist.h>, we
...
need to include <a.out.h> anyway. Move it inside #ifdef NLIST_AOUT.
2009-08-20 10:19:36 +00:00
he
3a05737d04
Instead of including <a.out.h> to get at "struct nlist" (with a comment
...
to explain it), include <nlist.h> instead, so that our mips ports don't
error out in the absence of aout_machdep.h.
2009-08-20 08:30:04 +00:00
joerg
8a6f35af57
Fix markup.
2009-08-19 15:43:02 +00:00
tls
3682b97c0d
Oops. As Matthias pointed out, I swapped '-' for '_' in the previous
...
commit. Fix that. Also, some applications written for newer libevent
want event.h to pull in event_config.h by magic.
2009-08-19 15:18:05 +00:00
tls
cf13201bd8
Matthias Drochner pointed out that I lost the _EVENT_ prefix from all
...
the autoconf defines in the installed event_config.h. Of course, the
libevent documentation basically says not to use event_config.h, so it
is a little hard to see why the right fix isn't to just not install it...
...in any event, fix this approximately as the stock libevent Makefile does.
2009-08-19 01:38:39 +00:00
christos
f227975929
Version fts one more time! This is the most versioned API ever... Bump
...
fts_level from short to int to avoid a potential DoS.
From Maksymilian Arciemowicz
2009-08-16 19:33:38 +00:00
matt
3308ff5cbf
Only include <sys/exec_aout.h> if NLIST_AOUT is defined.
...
Don't define NLIST_AOUT for mips anymore.
2009-08-16 03:56:26 +00:00
enami
cc63c84008
Make nanosleep cancelable again.
2009-08-12 23:51:23 +00:00
seanb
612dfc4de9
Watch getservbyport_r() semantics. sv needs scope
...
while results are being looked at which in turn
are no longer valid after a endservent_r().
2009-08-12 20:24:30 +00:00
dsl
a245205b96
Change NO_SRCS lines to specify .S in order to exclude the .c file from
...
SRCS but add it to LSRCS (sort of makes sense!).
2009-08-11 17:30:43 +00:00
dsl
05e1772663
Change (slightly) the way NO_SRCS is processed, update big comment!
...
Now the .c file is removed from SRCS for both .S and .c in NO_SRSC.
The .c file is added to LSRCS for .S files in NO_SRCS.
(.S files in SRCS have the same treatment - but also get compiled.)
Allows vax build to be fixed.
Also the previous version failed to add to LSRCS correctly.
2009-08-11 17:29:04 +00:00
dsl
4ef3fc9143
Add text to the description saying that normal applications should not
...
use syscall().
Add text to bugs saying that high bits of the syscall number may be masked.
Fixes bug PR/11088
2009-08-07 19:34:46 +00:00
wiz
9c8f6f63d2
Bump date for previous.
2009-08-05 23:15:52 +00:00
pooka
27db690df3
fhopen() needs sys/mount.h
...
(if someone disagrees, feel free to fix as much as your heart desires)
2009-08-05 23:03:08 +00:00
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