summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tweak previous; ok millertjmc2011-01-101-3/+4
|
* mkdtemp() is present in POSIX 1003.1-2008millert2011-01-101-11/+9
| | | | Add a warning about using less than 6 Xs causing an error on some systems
* mktemp(3) can be used, but not where mkstemp(3) is an alternative. Alsonicm2011-01-071-6/+6
| | | | | | trim an inaccurate comment about its future removal. ok deraadt
* Make this compile with llvm-clang; problem pointed out by Amit Kulkarniguenther2010-12-311-1/+2
|
* mktemp(3) (and thus mktemp(1)) no longer use the process ID whenmillert2010-12-271-3/+2
| | | | | | replacing the Xs, it is now purely random. Also replace a use of .Fn that should be .Xr. OK jmc@
* Fix out of date comment; no code changemillert2010-12-221-2/+2
|
* remove comment that hasn't been true for quite a while now;otto2010-12-221-6/+1
| | | | ok deraadt@ djm@
* avoid pointer arithmetic on void *dhill2010-12-161-5/+5
| | | | | | tested for a while by me. ok otto@
* Rewrite the mbrtowc(3) man page so we can make sense of this function.stsp2010-12-051-93/+187
| | | | tweaks from jmc, help from uwe, "We are going to have to trust you :-)" deraadt
* involes -> involves; from Carlos Alberto Pereira Gomesjmc2010-11-301-1/+1
|
* replace a large stack buffer with a malloc call, with help from matthew.tedu2010-11-301-25/+34
| | | | | ok deraadt [passed upstream to the tz list as well]
* the posix regex mistake is here to stay. ok deraadttedu2010-11-212-16/+2
|
* Add CAVEATS section documenting error handling caveats.stsp2010-11-201-2/+9
| | | | tweak and ok jmc, tedu
* Make KERN_CPTIME return an avarage number of ticks across all CPUsmikeb2010-11-191-4/+3
| | | | tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
* tweak previous;jmc2010-11-081-3/+3
|
* Add %F, %g, %G, %u, %z (extended) and %Z.jasper2010-11-082-9/+334
| | | | | | | This is mostly a sync with NetBSD. tested in a bulk build by landry@ ok millert@
* - the nroff workaround is no longer neededjmc2010-10-291-19/+22
| | | | - use some Fn and \*(Gt
* Change basep parameter of getdirentries() to be off_t *, not long *millert2010-10-282-3/+3
| | | | | | | | so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
* remove skipjack and cast from the libc; ok deraadtmikeb2010-10-283-1053/+2
|
* support _SC_HOST_NAME_MAX; from bradderaadt2010-10-282-3/+9
| | | | a libc crank is happening in < 24 hours
* Remove the EXAMPLE, since *noone* should use this non-portable APIderaadt2010-10-271-38/+11
| | | | | directly -- it exists for libc use only. Tell people to use readdir(3). discussed with millert
* print the pointer value that caused the error (if available); okotto2010-10-211-47/+54
| | | | deraadt@ nicm@ (on an earlier version)
* The ssizearg member of union arg is pointless if it isn't of type ssize_tguenther2010-10-171-2/+2
| | | | Noted by Claus Assmann
* update struct statfs; from Vladimir Kirillovjmc2010-10-161-20/+30
|
* tcp.sendspace & tcp.recvspace buttons are gone.claudio2010-10-111-12/+2
|
* Extend GLOB_LIMIT to cover readdir and stat and bump the malloc limitnicm2010-10-082-31/+72
| | | | | | | | | | | from ARG_MAX to 64K. Fixes glob-using programs (notably ftp) able to be triggered to hit resource limits. Idea from a similar NetBSD change, original problem reported by jasper@. ok millert tedu jasper
* Retire Skipjackmikeb2010-10-061-3/+3
| | | | | | | | | | | There's not much use for the declassified cipher from the 80's with a questionable license these days. According to the FIPS drafts, Skipjack reaches its EOL in December 2010. The libc portion will be removed after the ports hackathon. djm and thib agree, no objections from deraadt Thanks to jsg for digging up FIPS drafts.
* Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platformsguenther2010-10-015-14/+12
| | | | | | | that didn't already have one, and then immediately use it in libc's SYS.h ok miod@
* Update to tzcode2010m from elsie.nci.nih.govmillert2010-09-271-1/+47
|
* oops, don't free array before freeing members; spotted by dkrause@djm2010-09-261-2/+2
|
* Make gcvt() better match printf("%g") behavior, it now passes regress.millert2010-09-251-11/+23
| | | | OK deraadt@
* document GLOB_KEEPSTAT in the RETURN VALUES and STANDARDS sections.djm2010-09-251-3/+14
|
* Bump libc major for ABI changes.millert2010-09-241-1/+1
|
* Bump fts_level from short to int and add a spare short so thingsmillert2010-09-242-5/+5
| | | | line up nicely. OK deraadt@
* Provide IRIX-compatible get_fpc_csr() and set_fpc_csr() for mips, althoughmiod2010-09-242-2/+46
| | | | | | | | we don't provide the silly union to decompose the value. This will allow userland to flip the ``flush denormalized to zero'' setting, which apparently is being relied upon by tcl. Asked by jasper@ a long time ago. Riding upon the upcoming libc major crank.
* Add timingsafe_bcmp(3) to libc, mention that it's already in thematthew2010-09-244-7/+64
| | | | | | kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@
* add a GLOB_KEEPSTAT option that retains a copy of the struct statdjm2010-09-242-16/+77
| | | | | | | | | | | information that is looked up while matching glob(3)s Keeping this information around can make a big difference when fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC feedback millert@ jmc@ "get it in before the libc crank" deraadt@
* Implement if_freenameindex() as a real function as required by posix.claudio2010-09-241-1/+7
| | | | OK deraadt@, millert@
* according to ingo, it isn;t a problem to have empty [BDS]q macros, sojmc2010-09-201-3/+3
| | | | revert that part of yesterday's diffs;
* more wacky macro fixing;jmc2010-09-192-40/+40
|
* observe the following spelling:jmc2010-09-1015-66/+66
| | | | | | | | | - wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
* Document EBUSY return when attempting to open a cua device thatmillert2010-09-071-1/+4
| | | | someone else already has open. OK jmc@
* do not use .B, which is man(7), not mdoc(7); and stop .Tn abuseschwarze2010-09-074-357/+142
| | | | feedback and ok jmc@, ok millert@
* - O_NOFOLLOW is no longer non-posix; from thomas klausnerjmc2010-09-071-8/+5
| | | | | | - bump posix revision and remove xpg; from millert ok millert
* Oracle has re-licensed sunrpc under a three-clause BSD license.millert2010-09-0144-1268/+1283
| | | | Update our sources appropriately. OK deraadt@ jsg@
* backout VIS_HEX. guenther@ points out that the C89 \xff encodingdjm2010-08-243-73/+10
| | | | | | | | | idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
* update to tzcode2010k from elsie.nci.nih.gov; OK miod@millert2010-08-2316-105/+233
|
* Check for duplicate variables in the environment when setting a valuemillert2010-08-232-11/+24
| | | | via setenv() or putenv(). OK miod@
* Two new flags: VIS_ALL - encode all characters, not just invisible onesdjm2010-08-213-12/+77
| | | | | | | | and VIS_HEX - use C89 \xff style hexadecimal encoding. Teach unvis(3) how to deal with the hex encoding. feedback and ok millert@ chl@
* Introduce an MI kern.consdev sysctl that will replace the MDkettenis2010-08-191-2/+5
| | | | | | machdep.console_device that's only implemented on a few architectures. ok deraadt@, miod@