delphij
0325fb6ca4
Add inet_ntoa_r, a reentrant version of inet_ntoa. This is
...
available on a lot of platforms, as well as libkern for years.
Submitted by: "MQ"
2007-06-11 07:21:21 +00:00
delphij
f848dcc6bb
Diff reduction against other *BSDs: ANSIfy function
...
prototypes. No function changes.
2007-06-11 03:05:54 +00:00
marcel
04e1377efe
Fix bogon in previous commit: <machine/cpu.h> is still needed.
2007-06-10 16:32:08 +00:00
marcel
e3a01e3402
The definition of CACHELINESIZE moved from <machine/cpu.h> to
...
<machine/md_var.h>.
2007-06-10 03:13:56 +00:00
remko
6d4725fe1d
Document getaddrinfo(3)'s AI_ADDRCONFIG
...
PR: docs/78357
Submitted by: Matthias Andree <matthias dot andree at gmx dot de>
Patch by: asmodai
MFC after: 1 week
2007-06-06 19:24:02 +00:00
des
96c25f467e
Expose __stack_chk_fail_local() so -fstack-protector-all works.
2007-06-05 08:24:34 +00:00
ume
d25d38de8e
Merge BIND 9.4.1 into main chunk.
...
MFC after: 2 weeks
2007-06-03 18:13:59 +00:00
ume
aefaa17a39
Vendor import of BIND 9.4.1
2007-06-03 18:11:28 +00:00
ume
1f0b78cb3e
Merge BIND 9.4.1 into main chunk.
...
MFC after: 2 weeks
2007-06-03 17:20:27 +00:00
ume
50b2307361
Vendor import of BIND 9.4.1
2007-06-03 17:02:29 +00:00
ume
09efba1c33
This commit was generated by cvs2svn to compensate for changes in r170242,
...
which included commits to RCS files with non-trunk default branches.
2007-06-03 17:02:29 +00:00
deischen
d3b7ba40ef
Export quad symbols. They were previously commented out. These symbols
...
really shouldn't be exported since they should be pulled from libgcc, but
the build of some applications is broken and they expect to see them in
libc. glibc exports these symbols, although Solaris doesn't appear to,
so export them for compatibility's sake.
After discussion with: kan
2007-05-31 13:07:37 +00:00
deischen
f291262336
Some libc symbol map cleanups.
...
net: endhostdnsent is named _endhostdnsent and is
private to netdb family of functions.
posix1e: acl_size.c has been never compiled in,
so there's no "acl_size".
rpc: "getnetid" is a static function.
stdtime: "gtime" is #ifdef'ed out in the source.
some symbols are specific only to some architectures,
e.g., ___tls_get_addr is only defined on i386.
__htonl, __htons, __ntohl and __ntohs are no longer
functions, they are now (internal) defines in
<machine/endian.h>.
Submitted by: ru
2007-05-31 13:01:34 +00:00
rwatson
97ae5983d9
Correct spelling errors in comments.
2007-05-28 11:36:43 +00:00
rwatson
4231e9d1dc
Precede symbol names consistently with tabs rather than spaces.
2007-05-28 11:33:44 +00:00
delphij
0debc89a00
Const'ify and ANSIfy the internal interfaces of regex(3).
...
This is the final change that makes libc to compile with
WERROR on my amd64 crashbox.
2007-05-25 12:44:58 +00:00
delphij
7c7730fe41
ANSIfy function definitions, reduces diff against OpenBSD.
2007-05-25 10:40:33 +00:00
ru
ba9ece2611
Also fix the misspelling of hes_resolve().
...
Submitted by: Danny Braniss
2007-05-25 09:58:25 +00:00
delphij
16abe9b047
The usage of "info" in init_hash() is read-only, so constify
...
the internal interface instead of casting away the constant
constraint upon calling.
2007-05-25 09:57:48 +00:00
ru
e483e0e1e3
hesiod_resolv -> hesiod_resolve
...
Submitted by: Danny Braniss
2007-05-24 13:50:06 +00:00
jon
50945671cb
Backout 1.5 as requested by deischen
2007-05-22 05:28:40 +00:00
jon
f4c0271704
__cleanup() is needed for ports/devel/valgrind, export it.
2007-05-22 03:03:28 +00:00
kan
b9acdd0d23
Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
...
puts it before library's object files, making the whole constuct useless.
2007-05-19 16:38:39 +00:00
cognet
643c457209
Use __mcount() instead of _mcount() to reduce diffs with NetBSD.
2007-05-19 16:20:37 +00:00
kan
45bdca2b2d
Use built-in _end symbol insteadof 'end' for consistency with other
...
architectures. Linker defines end is synonym for _end.
2007-05-19 04:36:34 +00:00
kan
078b4aa55e
Do not declare float_detect_tininess as external if it will be re-delared
...
as static later.
2007-05-19 04:34:42 +00:00
kan
babe0719d6
Make sure GCC will not try to link libc with itself.
2007-05-19 04:32:56 +00:00
kan
34d4c477d2
Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
...
SSP functions into FreeBSD libc. Use the same file name and location
for consistency with other projects.
2007-05-19 04:31:43 +00:00
jon
9fa5f8882e
Move nss_compat symbols from r1.11 to private section of symbol map.
...
Suggested by: deischen
2007-05-18 15:41:54 +00:00
jon
9f6d75987a
__nss_compat_* from net/nss_compat.c are needed by ports/net/nss_ldap, so export them.
2007-05-18 05:45:28 +00:00
jon
beb2048e85
endrpcent belongs with rpc name service db, not services.
...
MFC after: 1 week
2007-05-17 03:34:33 +00:00
jon
3127d2bb31
fix memory leak from reading nsswitch.conf
...
MFC after: 1 week
2007-05-17 03:33:23 +00:00
rrs
b024dc211e
-Fix so getoptinfo() is in conformance with socket api (it
...
can be used on any read socketopt).
-Clean up of sendmsg call and make it conformant when no syscall
is available.
2007-05-16 20:23:39 +00:00
rrs
92bcfd1176
Resolves symbols map so sctp_xxx() functions are included.
...
PR: 112704
Submitted by: kou@cozmixng.org
2007-05-16 20:20:54 +00:00
kan
06d44a8073
Do not export 'end' symbol. It is not meant to be visible to outside
...
world and it wreak havoc if libc collides with other versioned
libraries.
2007-05-16 02:32:55 +00:00
pav
003d9887d8
Document RFTHREAD
...
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
2007-05-14 13:58:54 +00:00
deischen
5b911044f8
I guess powerpc needs vfork(), add it to the symbol list.
...
Submitted by: marius
2007-05-14 07:46:29 +00:00
rwatson
12c13290f9
Add ether_aton_r and ether_ntoa_r to public symbol map for libc.
...
Pointed out by: deischen
2007-05-13 15:01:25 +00:00
deischen
b52ec536bb
Remove .mcount from gmon's Symbol map and add it to the appropriate
...
arch. It can be named differently depending on the arch (.mcount,
_mcount).
Submitted by: marius
2007-05-13 14:16:55 +00:00
deischen
bf3a79274d
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.
...
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
2007-05-13 14:12:40 +00:00
rwatson
cff73a5a63
Add and document ether_ntoa_r() and ether_aton_r() functions, which accept
...
passed storage buffers rather than using static storage. Reimplement
ether_ntoa() and ether_aton() in terms of these functions. These variants
are thread-safe.
2007-05-13 13:57:45 +00:00
rwatson
37843b872c
Move to more conformant style(9) before making functional changes.
2007-05-13 12:04:06 +00:00
marius
6d578f19e4
- Add bits for userland profiling. For sun4u this is compile-tested only.
...
- Replace magic 14 with PIL_TICK.
2007-05-11 23:43:55 +00:00
das
d4d5d36cfc
We should never zero-pad INF or NaN (yielding silly strings like "00inf")
...
even if the programmer asks for zero padding.
2007-05-08 03:08:28 +00:00
das
cdcf605760
Fix a rounding error.
...
Reported by: Bruno Haible
2007-05-08 02:59:37 +00:00
gabor
b75fdc8954
- Fix typo
...
Approved by: keramida (mentor)
MFC after: 3 days
2007-05-04 16:01:07 +00:00
ache
6ccaf050cc
Back out all POSIXified *env() changes.
...
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
2007-05-01 16:02:44 +00:00
ache
55677ed894
Bump .Dd
...
Suggested by: Henrik Brix Andersen <henrik@brixandersen.dk>
2007-04-30 19:37:10 +00:00
ache
c0dd4e798d
Add phrase
...
"so altering the argument shall change the environment."
into putenv description.
2007-04-30 18:01:51 +00:00
ache
d85104099a
Make putenv() fully conforms to Open Group specs Issue 6
...
(also IEEE Std 1003.1-2001)
The specs explicitly says that altering passed string
should change the environment, i.e. putenv() directly puts its arg
into environment (unlike setenv() which just copies it there).
It means that putenv() can't be implemented via setenv()
(like we have before) at all. Putenv() value lives (allows modifying)
up to the next putenv() or setenv() call.
2007-04-30 16:56:18 +00:00