Commit Graph

964 Commits

Author SHA1 Message Date
uwe 11b19038f9 Close the comment after #endif. 2004-01-17 01:04:46 +00:00
kleink d82e732345 Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros. 2004-01-15 19:43:44 +00:00
cl 90e89977d4 - libc.so.12.109 and libpthread.so.0.4
- add ssize_t stackinfo_offset argument to sa_register syscall
- remove sa_unblockyield syscall
- make __sigprocmask14 syscall weak
- in pthread__sa_start: catch up with 4-argument sa_register syscall
2004-01-02 18:56:39 +00:00
kleink 413b3367fe Do a little const cleanup, for consistency with std interfaces. 2003-12-21 23:19:02 +00:00
agc 7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
thorpej 137c808bb8 Userland portion of fsync_range(2), written by Bill Studenmund, and
contributed by Wasabi Systems, Inc.
2003-11-18 00:56:56 +00:00
dbj e7faadcf38 ifdef out file when HAVE_NBTOOL_CONFIG_H is defined to avoid
conflicting definitions when building host tools
2003-11-12 19:50:46 +00:00
lukem 5dfdeb16e3 pull in nbtool_config.h #if HAVE_NBTOOL_CONFIG_H 2003-10-27 03:46:15 +00:00
kleink 793c50136c C99 7.12#4: provide INFINITY, which defaults to HUGE_VALF.
If infinities are not available, the machine-dependent header must define
__INFINITY as a positive constant of type float that overflows.
2003-10-26 00:02:02 +00:00
kleink adb0aada40 C99: provide HUGE_VALF and HUGE_VALL. 2003-10-25 22:35:46 +00:00
kleink 22c6452bfb _ISO_C99_SOURCE -> _ISOC99_SOURCE 2003-10-22 15:51:18 +00:00
tron 162ada1c8b Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.
2003-10-14 12:46:44 +00:00
thorpej fc8c8a08ca "force" is not an inverted option; fix it. 2003-10-13 17:55:11 +00:00
agc 9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
christos f1f16d70f5 Remove Berkeley's advertising clause 3. 2003-10-13 15:31:35 +00:00
dsl af4b8ed37d Add _PATH_CONSTTY as "/dev/constty" 2003-10-03 13:17:12 +00:00
christos 46a53ee354 make some files symlinks from sys. 2003-10-01 01:35:39 +00:00
christos 3b665646d7 include <sys/md.?> versions. 2003-09-30 19:18:28 +00:00
christos 12461381f5 Include <sys/sha1.h> instead of copying its contents. 2003-09-30 19:15:42 +00:00
jdolecek bb21f0beb4 remove pw_dup() 2003-09-18 09:24:35 +00:00
cl 5c40d56471 fix SA/pthread pagefault failure:
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
kleink 9865e7ff1d Sprinkle restrict into timer_{create,settime}(2). 2003-09-13 22:31:04 +00:00
christos f2b01de1f8 don't put __libc_sigaction14 under __LIBC12_SOURCE__. It is wrong, because
then we have to define __LIBC12_SOURCE__ from __sigaction14_sigtramp.c and
that has the side effect of redefining struct sigaction to the old one.
2003-09-12 20:27:50 +00:00
christos 62da681012 s/COMPAT_16/__HAVE_SIGINFO/ pointed out by wiz. 2003-09-11 14:04:50 +00:00
christos 2232e7d76f sigreturn is not visible unless COMPAT_16 is enabled. 2003-09-11 13:12:52 +00:00
itojun 00552ebbd7 add randomid(3). 2003-09-09 22:10:33 +00:00
itojun 99dfdf20e2 prototype for pw_dup(3) 2003-09-09 22:05:38 +00:00
itojun 8531990138 forgot to commit; des api change 2003-09-08 15:48:11 +00:00
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
wiz 31fd31ccf7 Make getlastlogx have the pathname to the lastlogx database as first
argument, to be consistent with updlastlogx.

Approved by christos, reviewed by kleink.

[The lastlogxname function should not be used any longer.]
2003-08-26 16:48:32 +00:00
kleink f518dc7e04 Sprinkle some restrict, repair a minor nit in iconv(3)'s synopsis. 2003-08-22 14:05:03 +00:00
agc 039cc95684 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
2003-08-07 09:44:09 +00:00
salo 6ac55ad469 netbsd.org->NetBSD.org 2003-07-26 17:35:00 +00:00
mrg b1774706ae install stdbool.h if gcc3 2003-07-26 15:27:13 +00:00
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
nathanw ddd6fd5414 Add setcancelstate stub. 2003-07-19 05:05:28 +00:00
nathanw 1c5f5912e9 Synchronize the featuretest set for pthreads stuff to
_POSIX_C_SOURCE >= 199506L, _XOPEN_SOURCE >= 500, or _NETBSD_SOURCE.
2003-07-18 17:54:35 +00:00
thorpej b65cdc9721 Back out previous; it is not correct. 2003-07-18 15:50:01 +00:00
lukem f46e3353de for now, pull in <pthread_types.h> to get pthread_t for the
pthread_kill() prototype to work ...

this is probably not the correct long term solution, but the tree is
currently broken without it...
2003-07-18 08:53:42 +00:00
nathanw 86b9f2f3b1 Now that sys/types.h defines pthread_t, the forward structure
declaration for pthread_st isn't necessary (and is why I missed that
it was necessary before, as I already had the sys/types.h change in my
local tree).
2003-07-17 23:04:43 +00:00
bjh21 e3167f6ca1 Change !_ANSI_SOURCE to _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE. 2003-07-17 22:39:43 +00:00
martin 791508af9b Use a forward declaration equivalent to pthread_t instead of the
(undefined here) pthread_t.
2003-07-17 09:01:54 +00:00
nathanw ffb042ea86 Give the pthread_kill() prototype here, as required. 2003-07-16 21:15:43 +00:00
nathanw c35f5dd38e Add the _POSIX_THREAD and _POSIX_TIMER mandated minimum limits. 2003-07-16 21:03:54 +00:00
kristerw a7c803af07 Remove variable names from prototypes. 2003-07-09 01:59:34 +00:00
itojun 04392e7f81 prototype must not have variable name 2003-07-08 05:39:23 +00:00
kristerw c1f62bbe29 Do not give names to the parameters in function prototypes (those names
reduces the usefulness of the gcc -Wshadow flag).
2003-07-08 01:43:28 +00:00
tshiozak b42cc81ee4 add definisions for ERA* and ALT_DIGITS. 2003-07-04 04:46:14 +00:00
skrll 3605f02195 Remove reference to dlinfo - it doesn't exist in NetBSD. 2003-07-01 15:02:01 +00:00
tshiozak 2fbaee419e change iconv_t definision : void * -> struct __tag_iconv_t *.
suggested by yamt.
2003-07-01 08:54:57 +00:00