Xin LI
cb4e06eba8
ANSIfy function definitions, reduces diff against OpenBSD.
2007-05-25 10:40:33 +00:00
Ruslan Ermilov
7172f8c4db
Also fix the misspelling of hes_resolve().
...
Submitted by: Danny Braniss
2007-05-25 09:58:25 +00:00
Xin LI
f22d3eb469
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
Ruslan Ermilov
6f9900d9f6
hesiod_resolv -> hesiod_resolve
...
Submitted by: Danny Braniss
2007-05-24 13:50:06 +00:00
Jonathan Chen
959496efbf
Backout 1.5 as requested by deischen
2007-05-22 05:28:40 +00:00
Jonathan Chen
81d8304713
__cleanup() is needed for ports/devel/valgrind, export it.
2007-05-22 03:03:28 +00:00
Alexander Kabaev
0212104ba9
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
Olivier Houchard
705fda849d
Use __mcount() instead of _mcount() to reduce diffs with NetBSD.
2007-05-19 16:20:37 +00:00
Alexander Kabaev
5c0e10ecce
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
Alexander Kabaev
94942af266
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
Alexander Kabaev
e20b165899
Make sure GCC will not try to link libc with itself.
2007-05-19 04:32:56 +00:00
Alexander Kabaev
91c1e2bf9b
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
Jonathan Chen
bb5bff06a7
Move nss_compat symbols from r1.11 to private section of symbol map.
...
Suggested by: deischen
2007-05-18 15:41:54 +00:00
Jonathan Chen
6a536ad948
__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
Jonathan Chen
4ea8677105
endrpcent belongs with rpc name service db, not services.
...
MFC after: 1 week
2007-05-17 03:34:33 +00:00
Jonathan Chen
7a800a56f7
fix memory leak from reading nsswitch.conf
...
MFC after: 1 week
2007-05-17 03:33:23 +00:00
Randall Stewart
002b1f0bba
-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
Randall Stewart
ad9f3b406a
Resolves symbols map so sctp_xxx() functions are included.
...
PR: 112704
Submitted by: kou@cozmixng.org
2007-05-16 20:20:54 +00:00
Alexander Kabaev
f0cd539d5e
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 Lucistnik
79df5e05ee
Document RFTHREAD
...
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
2007-05-14 13:58:54 +00:00
Daniel Eischen
8bf6519214
I guess powerpc needs vfork(), add it to the symbol list.
...
Submitted by: marius
2007-05-14 07:46:29 +00:00
Robert Watson
caa399aa66
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
Daniel Eischen
0c58e013aa
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
Daniel Eischen
00fb440c1a
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
Robert Watson
62ad77f006
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
Robert Watson
b06619453f
Move to more conformant style(9) before making functional changes.
2007-05-13 12:04:06 +00:00
Marius Strobl
ac474f9545
- 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
David Schultz
970a466c40
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
David Schultz
7f7c29db5e
Fix a rounding error.
...
Reported by: Bruno Haible
2007-05-08 02:59:37 +00:00
Gabor Kovesdan
b9d8f1d9c7
- Fix typo
...
Approved by: keramida (mentor)
MFC after: 3 days
2007-05-04 16:01:07 +00:00
Andrey A. Chernov
ba174a5e38
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
Andrey A. Chernov
fad6917924
Bump .Dd
...
Suggested by: Henrik Brix Andersen <henrik@brixandersen.dk>
2007-04-30 19:37:10 +00:00
Andrey A. Chernov
a7b27253d0
Add phrase
...
"so altering the argument shall change the environment."
into putenv description.
2007-04-30 18:01:51 +00:00
Andrey A. Chernov
15fdb055e5
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
Andrey A. Chernov
00f8652278
Remove special case skipping initial '=' of the setenv() value "for
...
compatibility with the different environment conventions" (man page).
With the standards, we don't have them different anymore and
IEEE Std 1003.1-2001 says that
"The values that the environment variables may be assigned are not
restricted except that they are considered to end with a null byte"
2007-04-30 03:47:31 +00:00
Andrey A. Chernov
bdda893471
Make setenv, putenv, getenv and unsetenv conforming to Open Group specs
...
Issue 6 (also IEEE Std 1003.1-2001) in following areas:
args, return, errors.
Putenv still needs rewriting because specs explicitly says that
altering passed string later should change the environment (currently we
copy the string so can't provide that).
2007-04-30 02:25:02 +00:00
Pawel Jakub Dawidek
a5fbf7ac1f
Add missing links and sort.
2007-04-29 21:38:25 +00:00
Alexander Kabaev
15c096778f
Make sure FBSDprivate_1.0 is located at the end of the version
...
inheritance chain.
2007-04-29 16:14:17 +00:00
Daniel Eischen
5f864214bb
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
Daniel Eischen
8d3b75aa33
Number the private version namespace in case we ever want to have
...
compatibility between versions (as we do for the public namespace).
2007-04-29 14:03:45 +00:00
Peter Pentchev
0b329a103d
Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
...
it is only relevant to receiving data from sockets, not to sending.
PR: 109667
Submitted by: Jari Kirma <kirma@cs.hut.fi>
Approved by: wollman
2007-04-27 10:28:30 +00:00
Mike Makonnen
18a6073100
Make inet6_rth_* family of functions more compliant with RFC3542:
...
1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return
the next header in the chain. If cmsg is NULL it should return
the first header, behaving essentially like CMSG_FIRSTHDR().
2. inet6_rth_(space|init|add) should do basic checking on their input
to verify that the number of headers (segments) is
between 0 and 127 inclusive.
MFC-After: 1 month
2007-04-19 15:48:16 +00:00
Poul-Henning Kamp
9436c1bf4b
Grammer correction from: emaste
2007-04-19 14:01:04 +00:00
Poul-Henning Kamp
a0c079b341
Loosen return value spec for fputs to be standards compliant so people
...
don't program against our more restrictive behaviour.
2007-04-19 09:38:31 +00:00
Pawel Jakub Dawidek
e42e8df28f
Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates
...
on int, but in fact it should operate on long.
- Introduce 'lvalue' variable, which is long.
- Fix _SC_XOPEN_SHM for 64bit archs.
- Fix _SC_PHYS_PAGES for 64bit archs.
Reported by: simokawa
- Use lvalue for pathconf(3), as it returns long.
- Cast value explicitly to long on return.
2007-04-14 13:06:57 +00:00
Ed Maste
f82b931e69
Belatedly bump Dd for my recent changes.
2007-04-11 20:31:06 +00:00
Ruslan Ermilov
204542dd4c
Expand the description of the host's UUID.
...
OK'ed by: pjd
2007-04-10 11:19:52 +00:00
Ruslan Ermilov
41e0cfabe9
Swap "underflow"/"overflow" in the table header.
...
Submitted by: Ricardo Nabinger Sanchez
MFC after: 3 days
2007-04-10 11:17:00 +00:00
Alexander Kabaev
445eba04a8
Clean-ip TLS symbol versions. [_]__tls_get_addr function is part of
...
the platform ABI and as such does not belong in FBSDprivate.
__libc_tls_* functions do not have to be visible to outside world
at all.
2007-04-09 22:48:08 +00:00
Pawel Jakub Dawidek
1f13edbe4b
Document KERN_HOSTUUID.
...
Reminded by: ru
2007-04-09 20:21:49 +00:00