christos
e89baaa3bf
Provide an ifdef so that we can define an old style _res if we need to.
2004-06-09 18:04:05 +00:00
mrg
5fb3053fed
add $NetBSD$
2004-06-06 06:58:50 +00:00
he
726e232131
Removr parameter names from __h_errno_set() function declaration.
...
Without this the vax port fails to compile the okheaders regression
test, because the "err" parameter name shadows a global variable.
2004-06-04 09:54:03 +00:00
kleink
a95e31fea6
Move declaration of closefrom(3) to local extensions.
2004-06-01 16:10:29 +00:00
itojun
56c1b44159
implement closefrom(3).
2004-05-31 05:06:51 +00:00
christos
388c103e83
PR/25003: John Kohl: File is missing a copyright.
2004-05-28 14:38:53 +00:00
christos
58fadb2d69
Add unix/98 pty function prototypes.
2004-05-27 02:58:14 +00:00
christos
5fec60124f
PR/25707: Love: remove _LIBC from res_state as suggested, so that res_ninit
...
calls in userland don't trash memory.
2004-05-26 01:08:50 +00:00
christos
afa83b513a
notyet is in the users namespace as pointed out by klaus.
2004-05-25 14:49:38 +00:00
christos
fdaf51dfc9
we don't implement getipnode*(), so don't define their flags for now. It
...
confuses some software (ntpd).
2004-05-25 13:55:48 +00:00
lha
76164d845a
Now that we have res_nsearch, use it. Thanks christos for adding it.
2004-05-25 11:15:43 +00:00
yamt
7ca373cce9
remove a duplicated prototype of getprotoent_r.
2004-05-24 12:34:28 +00:00
kleink
c3d77c559b
Implement sigemptyset() and sigfillset() not as macros but as inline
...
functions, just like the rest of the sigsetops. From J.T.Conklin
in PR lib/25627; originally prompted to work around problems with
an application but also fixing one important bug: per POSIX, these
functions may be additionally implemented as macros, iff they evaluate
their macros only once. This was not the case.
2004-05-23 23:03:24 +00:00
christos
cad3251cd9
Provide access to the 5 symbols the bind8 resolver libc did.
2004-05-22 23:46:16 +00:00
christos
c5167ccf84
provide unconditional access to _res via __res_state(). This will abort
...
for multi-threaded programs.
2004-05-22 15:42:17 +00:00
christos
a39aed56f5
install new files.
2004-05-21 02:27:35 +00:00
christos
b74cd7536f
resolve conflicts.
2004-05-21 02:25:10 +00:00
christos
d922106ab4
import new and changed files from bind9
2004-05-21 02:17:49 +00:00
christos
3bffc96400
Import selected changes from bind9. Follow the copyright structure there.
2004-05-21 02:14:39 +00:00
christos
ad7bdf9185
add 2 new functions from bind9
2004-05-21 01:53:17 +00:00
kleink
867f8a88f2
Make it possible to use <stdbool.h> in C++ applications.
...
Fixes PR lib/25597 from Takuya SHIOZAKI.
2004-05-20 17:49:32 +00:00
kleink
3788baa149
Remove _assert() again. As has been noted by Ben Harris, this had been
...
removed already in rev. 1.4 and was subsequently reinstated by the
Lite-2 import. Nothing uses it, and it pollutes user namespace.
2004-05-18 21:03:08 +00:00
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