Commit Graph

990 Commits

Author SHA1 Message Date
kleink
8df3999b0c While I'm at it: add restrict qualifiers to readlink(2). 2004-05-10 22:33:08 +00:00
kleink
43b7ae77fa POSIX-2001: Change readlink(2)'s return type from int to ssize_t. 2004-05-10 22:28:23 +00:00
drochner
4bf1529244 remove fgetstr() from public sight 2004-05-10 16:53:56 +00:00
kleink
c19ffd7809 C99: Provide WCHAR_{MAX,MIN} via <machine/wchar_limits.h> (we'll also
provide WINT_{MAX,MIN} along with it).
Fixes PR standards/24040 from Masao Uebayashi.
2004-05-08 21:57:05 +00:00
kleink
5f2ea73659 * __sparc64__ -> __sparc__ && _LP64,
* add a comment on the purpose of __ai_pad0.
Both suggested by mrg.
2004-05-08 18:55:23 +00:00
kleink
8d54bc1847 struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.  Fixes PR
standards/21411 from Ben Harris.

This should be deleted the next time the libc major number is
incremented.

Also, update getnetbyaddr(3)'s `net' argument accordingly.
2004-05-08 18:52:15 +00:00
lha
bba70dc29c Merge changes between Heimdal 0.6.1 and 0.6.2 2004-05-08 13:27:58 +00:00
kleink
dbfbef898d XPG4.2: Change member `dsize' of struct datum from int to size_t.
Version dbm_{delete,fetch,firstkey,nextkey,store}() accordingly.
Fixes PRs standards/21402 from Ben Harris and standards/25343 from
Murray Armfield.
2004-04-28 00:10:52 +00:00
kleink
cd7b32a9cf Un-__P(). 2004-04-27 20:59:43 +00:00
kleink
22c4c0ea8f Remove declaration of dbm_forder(), which is not implemented. 2004-04-27 20:13:46 +00:00
christos
fe069d7c1f more const sprinkling on cget* suggested by kleink. 2004-04-23 14:44:54 +00:00
christos
e1beeda0ae constify the db name vector argument. 2004-04-23 14:37:42 +00:00
christos
3b237aad69 constify setdisktab() 2004-04-23 14:37:12 +00:00
christos
63f41ce367 add fgetstr 2004-04-21 00:05:05 +00:00
itojun
0fc4d34dfc fix comment (there could be more than 3 AI_xxx) 2004-04-14 04:37:59 +00:00
itojun
a1b7e86ab4 implement AI_NUMERICSERV (as defined in RFC3493) 2004-04-14 04:37:06 +00:00
lha
4d21efe5f7 Merge changes between heimdal-0.6 and heimdal-0.6.1 2004-04-02 14:59:46 +00:00
joda
d3dc070ae7 turbo-upgrade to Heimdal 0.6 (this was somehow missed when 0.6 was imported) 2004-03-24 20:48:34 +00:00
christos
639e111c0e Do not expose the current implementation of the serv*_r proto*_r functions,
since this is not how we will implement them when we do. From discussions
with Brian Ginsbach and Soda-san.
2004-03-20 18:22:22 +00:00
kleink
8e54f10bf7 * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
2004-03-04 23:42:38 +00:00
kleink
642c4f3f10 Make lint happy for __fpmacro_unary_floating() users. 2004-03-04 00:17:44 +00:00
christos
a2ef38401f in servent and protent data:
- add a dummy field for extensions.
- add a line field to keep the current line buffer.
2004-02-23 16:05:19 +00:00
christos
885e0fc7f3 protoent_r/servent_r 2004-02-19 19:30:30 +00:00
kleink
15afe0b4fc Move FP_ROP and FP_DIRTYZERO from <math.h> to <vax/math.h> (where they
would have ended up if I hadn't missed the latter file in the commit).
2004-01-20 19:52:40 +00:00
matt
20fe2d9da9 Add FP_ROP and FP_DIRTYZERO to MD range for VAX. 2004-01-20 19:26:53 +00:00
yamt
eecd1e664f explicitly cast langinfo constants to nl_item. 2004-01-18 09:07:07 +00:00
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