summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Export quad symbols. They were previously commented out. These symbolsdeischen2007-05-311-6/+6
| | | | | | | | | 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
* Some libc symbol map cleanups.deischen2007-05-3111-31/+0
| | | | | | | | | | | | | | | | | | | | | 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
* Correct spelling errors in comments.rwatson2007-05-281-2/+2
|
* Precede symbol names consistently with tabs rather than spaces.rwatson2007-05-281-14/+14
|
* Const'ify and ANSIfy the internal interfaces of regex(3).delphij2007-05-251-109/+100
| | | | | This is the final change that makes libc to compile with WERROR on my amd64 crashbox.
* ANSIfy function definitions, reduces diff against OpenBSD.delphij2007-05-251-17/+8
|
* Also fix the misspelling of hes_resolve().ru2007-05-251-1/+1
| | | | Submitted by: Danny Braniss
* The usage of "info" in init_hash() is read-only, so constifydelphij2007-05-251-3/+3
| | | | | the internal interface instead of casting away the constant constraint upon calling.
* hesiod_resolv -> hesiod_resolveru2007-05-241-1/+1
| | | | Submitted by: Danny Braniss
* Backout 1.5 as requested by deischenjon2007-05-221-1/+0
|
* __cleanup() is needed for ports/devel/valgrind, export it.jon2007-05-221-0/+1
|
* Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGSkan2007-05-191-1/+2
| | | | puts it before library's object files, making the whole constuct useless.
* Use __mcount() instead of _mcount() to reduce diffs with NetBSD.cognet2007-05-191-1/+1
|
* Use built-in _end symbol insteadof 'end' for consistency with otherkan2007-05-191-2/+2
| | | | architectures. Linker defines end is synonym for _end.
* Do not declare float_detect_tininess as external if it will be re-delaredkan2007-05-191-0/+2
| | | | as static later.
* Make sure GCC will not try to link libc with itself.kan2007-05-191-0/+5
|
* Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensedkan2007-05-193-1/+124
| | | | | SSP functions into FreeBSD libc. Use the same file name and location for consistency with other projects.
* Move nss_compat symbols from r1.11 to private section of symbol map.jon2007-05-181-10/+10
| | | | Suggested by: deischen
* __nss_compat_* from net/nss_compat.c are needed by ports/net/nss_ldap, so ↵jon2007-05-181-0/+10
| | | | export them.
* endrpcent belongs with rpc name service db, not services.jon2007-05-171-1/+1
| | | | MFC after: 1 week
* fix memory leak from reading nsswitch.confjon2007-05-172-0/+7
| | | | MFC after: 1 week
* -Fix so getoptinfo() is in conformance with socket api (itrrs2007-05-161-32/+33
| | | | | | can be used on any read socketopt). -Clean up of sendmsg call and make it conformant when no syscall is available.
* Resolves symbols map so sctp_xxx() functions are included.rrs2007-05-161-0/+14
| | | | | PR: 112704 Submitted by: kou@cozmixng.org
* Do not export 'end' symbol. It is not meant to be visible to outsidekan2007-05-161-1/+1
| | | | | world and it wreak havoc if libc collides with other versioned libraries.
* Document RFTHREADpav2007-05-141-1/+9
| | | | | | PR: docs/78915 Submitted by: Marc Olzheim <marcolz@stack.nl> MFC after: 1 week
* I guess powerpc needs vfork(), add it to the symbol list.deischen2007-05-141-0/+1
| | | | Submitted by: marius
* Add ether_aton_r and ether_ntoa_r to public symbol map for libc.rwatson2007-05-131-0/+2
| | | | Pointed out by: deischen
* Remove .mcount from gmon's Symbol map and add it to the appropriatedeischen2007-05-135-2/+27
| | | | | | | arch. It can be named differently depending on the arch (.mcount, _mcount). Submitted by: marius
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.deischen2007-05-131-2/+0
| | | | | | | | | | 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.
* Add and document ether_ntoa_r() and ether_aton_r() functions, which acceptrwatson2007-05-132-37/+85
| | | | | | passed storage buffers rather than using static storage. Reimplement ether_ntoa() and ether_aton() in terms of these functions. These variants are thread-safe.
* Move to more conformant style(9) before making functional changes.rwatson2007-05-131-51/+35
|
* - Add bits for userland profiling. For sun4u this is compile-tested only.marius2007-05-111-0/+1
| | | | - Replace magic 14 with PIL_TICK.
* We should never zero-pad INF or NaN (yielding silly strings like "00inf")das2007-05-081-0/+1
| | | | even if the programmer asks for zero padding.
* Fix a rounding error.das2007-05-081-1/+1
| | | | Reported by: Bruno Haible
* - Fix typogabor2007-05-041-2/+2
| | | | | Approved by: keramida (mentor) MFC after: 3 days
* Back out all POSIXified *env() changes.ache2007-05-014-96/+41
| | | | | | | | | 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.
* Bump .Ddache2007-04-301-1/+1
| | | | Suggested by: Henrik Brix Andersen <henrik@brixandersen.dk>
* Add phraseache2007-04-301-1/+2
| | | | | "so altering the argument shall change the environment." into putenv description.
* Make putenv() fully conforms to Open Group specs Issue 6ache2007-04-304-26/+58
| | | | | | | | | | | (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.
* Remove special case skipping initial '=' of the setenv() value "forache2007-04-302-7/+0
| | | | | | | | | 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"
* Make setenv, putenv, getenv and unsetenv conforming to Open Group specsache2007-04-304-19/+48
| | | | | | | | | 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).
* Add missing links and sort.pjd2007-04-291-3/+9
|
* Make sure FBSDprivate_1.0 is located at the end of the versionkan2007-04-291-1/+1
| | | | inheritance chain.
* Use C comments since we now preprocess these files with CPP.deischen2007-04-2930-166/+242
|
* Number the private version namespace in case we ever want to havedeischen2007-04-291-1/+1
| | | | compatibility between versions (as we do for the public namespace).
* Remove the MSG_PEEK flag from the documentation of the send(2) syscall -roam2007-04-271-1/+0
| | | | | | | | 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
* Make inet6_rth_* family of functions more compliant with RFC3542:mtm2007-04-191-1/+9
| | | | | | | | | | | 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
* Grammer correction from: emastephk2007-04-191-1/+1
|
* Loosen return value spec for fputs to be standards compliant so peoplephk2007-04-191-5/+2
| | | | don't program against our more restrictive behaviour.
* Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operatespjd2007-04-141-21/+18
| | | | | | | | | | 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.
OpenPOWER on IntegriCloud