summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Add xref to jail(2).mpp2001-12-281-1/+2
| | | | | PR: docs/33177 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* - Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.ume2001-12-262-1/+13
| | | | | | | | - Don't connect datagram socket if RES_INSECURE1. - Needed to implement IPv6 anycast UDP DNS queries as documented in <draft-ietf-ipngwg-dns-discovery-03.txt>. Obtained from: KAME
* Add "except the handling of errors" into "equivalent to" paragraph.ache2001-12-253-0/+8
| | | | | Pointed by: bde Inspired by: POSIX
* Preserve errno.ache2001-12-255-9/+44
| | | | | | | | According to C99: "The functions atof, atoi, atol, and atoll need not affect the value of the integer expression errno on an error. If the value of the result cannot be represented, the behavior is undefined."
* Back out recent replacement of LC_MESSAGES file with directory.phantom2001-12-241-1/+1
| | | | Requested by: ache
* o Change the layout of the tagged lists to be like those in acl(3).chris2001-12-231-3/+12
| | | | | | | | o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO, CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Save and restore t12 in the jmp_buf. t12 is used during functiondeischen2001-12-222-0/+3
| | | | | | | | | calls. This change allows libc_r to create thread contexts with a different stack and return address. With much detective work by: Bernd Walter <ticso@cicely.de>
* The VM_STACK option is long dead. MAP_STACK is available everywhere.peter2001-12-211-12/+0
|
* Slightly re-work locale messages storage scheme. Before this commitphantom2001-12-211-1/+1
| | | | | | | | | | | LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file. Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES directory is supposed to be storage of message catalogs of userland tools. This should allow us to avoid many potential problems with future libintl related functionality introduction. Thanks for useful suggestions about correct way how to replace plain files with directories at installworld stage to: Ruslan Ermilov <ru>
* style(9)'ifyphantom2001-12-207-73/+77
|
* Add my e-mail to copyrightsphantom2001-12-202-2/+2
|
* Document that rfork() will return EINVAL if flags not listed in thejhb2001-12-191-0/+2
| | | | manpage are passed in.
* Fix some style bugsphantom2001-12-171-15/+18
| | | | Prompted by: mike
* clnt_bcast.c:420:33: warning: extra tokens at end of #endif directivepeter2001-12-151-1/+1
|
* * cleanup comments and definesphantom2001-12-141-8/+1
| | | | Reviewed by: bde
* Also fix cases when thousands separator should be put before number. Forphantom2001-12-131-2/+4
| | | | | example before for grouping sequence "\003\003" number 123456 was formated as ",123,456", now "123,456".
* Respect locale while handling of \' flag.phantom2001-12-131-22/+63
| | | | | | | | | | In original version grouping was hardcoded. It assumed that thousands separator should be inserted to separate each 3 numbers. I.e. grouping string "\003" was assumed for all cases. In correct case (per POSIX) vfprintf should respect locale defined non-monetary (LC_NUMERIC category) grouping sequence. Also simplify thousands_sep handling.
* If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP.ru2001-12-131-2/+2
| | | | | PR: docs/32793 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
* mdoc(7) police: minor markup nits.ru2001-12-121-20/+20
|
* mdoc(7) police: fix markup, bump document date.ru2001-12-122-30/+38
|
* mdoc(7) police: kill HSBs, add missing comma.ru2001-12-121-8/+13
|
* mdoc(7) police: fix markup.ru2001-12-121-13/+17
|
* mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34.ru2001-12-121-57/+67
|
* mdoc(7) police: use no-break space.ru2001-12-121-1/+3
|
* mdoc(7) police: use no-break space, fix markup.ru2001-12-121-1/+2
|
* mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup.ru2001-12-121-1/+3
|
* Add my e-mail to copyrightsphantom2001-12-112-2/+2
|
* * Add my e-mail to copyrightsphantom2001-12-1110-52/+57
| | | | * style(9)'ify
* Fix grouping string handlingphantom2001-12-111-1/+4
|
* Start using .St macro for POSIX.1-2001.ru2001-12-082-4/+3
|
* Get rid of unused anymore file! Alpha works fine with our strtod() now.phantom2001-12-071-2496/+0
|
* Return 'c' back to signed due to potential comparison problemsache2001-12-076-60/+72
| | | | | | Use simpler test for valid ranges Submitted by: bde
* Fix a typo.ru2001-12-071-1/+1
| | | | Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>
* * localeconv() usage is not FLOATING_POINT specific anymore (due to "'" flagphantom2001-12-071-3/+3
| | | | | addition) so move locale.h inclusion out of FLOATING_POINT ifdef's. * add more comments
* Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Bewes2001-12-072-6/+32
| | | | | | | | | | | more careful about reporting truncation with ERANGE in strerror_r. Set errno to EINVAL for "unknown" errnum in strerror as required by P1003.1-200x Draft June 14, 2001. More carefully document the handling of strerrbuf when errors (ERANGE, EINVAL) are encountered in strerror_r. Reviewed by: bde (ongoing discussion)
* Remove blank line.fenner2001-12-071-1/+0
|
* New, improved, more Posix-compliant strerror_r implementation,wes2001-12-062-72/+78
| | | | | | | complete with documentation. Reviewed by: mike@ gad@ MFC after: 1 week
* Clarify ' ' space issueache2001-12-052-2/+3
|
* mdoc(7) police: markup the previous delta.ru2001-12-041-1/+3
|
* Correct some egregious style bugs.des2001-12-041-13/+21
|
* Add a missing error check. This fixes a bug that would cause pwd_mkdb todes2001-12-041-1/+2
| | | | | | | | | dump core if invoked with an input file that looks like a password file but isn't (e.g. /etc/group). PR: 32378 Submitted by: Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
* Fix typos getpeerid -> getpeereid.tobez2001-12-021-2/+2
| | | | | PR: docs/32442 Reviewed by: dd
* Use the merged strtod.c everywhere. This has been tested on alpha andpeter2001-12-021-10/+1
| | | | ia64.
* Remove specific reference to ASCII space (' '), it is true for localizedache2001-12-021-1/+1
| | | | spaces too
* Make it works for non ASCII compatible encodings too.ache2001-12-026-42/+42
| | | | The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous
* Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).jkoshy2001-12-012-0/+12
| | | | | | | | This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix. PR: bin/27489 Submitted by: Arun Sharma <arun@sharma-home.net> Reviewed by: bde (prior version)
* o Stop abusing MD headers with non-MD types.mike2001-12-012-9/+14
| | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde
* Merge NetBSD's changes from netbsd_strtod.c in preparation ofphantom2001-11-301-47/+54
| | | | | | | | | removing it from our source tree in order to have one version of strtod() for all arches. netbsd_strtod.c still left in source tree until alpha folks make sure that our native strtod() works as well as NetBSD's one. Reviewed by: peter, bde (some time ago)
* Implement several of the c99 updates to printf(3):fenner2001-11-302-211/+458
| | | | | | | | | | | | | | | | - New length modifiers: hh, j, t, z. - New flag: '. Note that %'f is not yet implemented. - Use "inf"/"nan" for efg formats, "INF"/"NAN" for EFG formats. - Implemented %q in terms of %ll; if "quad_t" is not "long long" %q will break. Still to do: - %C, %S, %lc, %ls (wide character support) - %'f (thousands in integer portion of %f) - %a/%A (exact hex representation of floating-point numbers) Garrett Wollman wrote the first version of the vfprintf.c update; Mike Barcroft wrote the first version of the printf.3 changes.
* Clarify isblank rangeache2001-11-301-0/+14
|
OpenPOWER on IntegriCloud