Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix SEE ALSO; | jmc | 2012-01-17 | 1 | -2/+2 | |
| | ||||||
* | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. | guenther | 2012-01-17 | 4 | -3/+222 | |
| | | | | | | Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it | |||||
* | net_addrcmp() dies. found out to be a horrific function by eric | deraadt | 2012-01-17 | 3 | -158/+3 | |
| | | | | ok guenther | |||||
* | grammar; | jmc | 2012-01-14 | 1 | -2/+2 | |
| | ||||||
* | this is sparta^WPOSIX 2008 | espie | 2012-01-14 | 1 | -2/+7 | |
| | | | | okay millert@ | |||||
* | draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted by | jmc | 2012-01-03 | 2 | -12/+10 | |
| | | | | | | Poul-Henning Kamp, freebsd pr docs/163771; ok sthen | |||||
* | strdup and strndup both use malloc. Make this fact explicit. | lum | 2011-12-08 | 1 | -3/+5 | |
| | | | | ok jmc@ | |||||
* | Complete the HISTORY of all syscalls that exist since Version 1 AT&T UNIX. | schwarze | 2011-11-17 | 1 | -2/+11 | |
| | | | | | All facts from http://minnie.tuhs.org/cgi-bin/utree.pl, checked by sobrado@. Feedback and ok jmc@ jmc@ (sic, Jason checked and ok'ed this twice). | |||||
* | Make consistent the syscall stubs for the syscalls that got special | guenther | 2011-10-16 | 1 | -1/+16 | |
| | | | | | | | | handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@ | |||||
* | Make struct chunk_info a variable sized struct, wasting less | otto | 2011-10-06 | 1 | -28/+55 | |
| | | | | | space for meta data by only allocating space actually needed for the bitmap (modulo alignment requirements). ok deraadt@ | |||||
* | some minor tweaks; | jmc | 2011-09-03 | 1 | -2/+2 | |
| | ||||||
* | make -column lists pretty again; | jmc | 2011-09-03 | 1 | -3/+3 | |
| | | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | |||||
* | in column lists, enforce the following ordering: | jmc | 2011-08-30 | 1 | -3/+3 | |
| | | | | | | | | | .Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want) | |||||
* | tweak previous; | jmc | 2011-07-25 | 3 | -6/+6 | |
| | ||||||
* | update HISTORY and SEE ALSO for all of string(3), together with various | schwarze | 2011-07-25 | 53 | -237/+642 | |
| | | | | | smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree | |||||
* | occured -> occurred; | jmc | 2011-07-24 | 1 | -2/+2 | |
| | ||||||
* | Recent Single Unix will malloc memory if the second argument of realpath() | miod | 2011-07-24 | 2 | -17/+52 | |
| | | | | | | is NULL, and third-party software is starting to rely upon this. Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor tweaks from nicm@ and yours truly. | |||||
* | Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@ | millert | 2011-07-24 | 2 | -50/+26 | |
| | ||||||
* | Show (in the example) that < and > can be used multiple times; ok jmc@ | otto | 2011-07-22 | 1 | -4/+5 | |
| | | | | jasper@ | |||||
* | - add a MALLOC_OPTIONS section header. the content is already there, but having | jasper | 2011-07-21 | 1 | -3/+3 | |
| | | | | | | a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@ | |||||
* | on malloc flag S, set cache size to 0; will catch even more | otto | 2011-07-12 | 1 | -2/+6 | |
| | | | | use-after-free bugs; ok krw@ dlg@ pirofti@ | |||||
* | Minor function name tweaks. | nicm | 2011-07-09 | 3 | -8/+8 | |
| | ||||||
* | Instead of documenting all the wide string functions in wmemchr(3), add | nicm | 2011-07-09 | 18 | -139/+1327 | |
| | | | | | | | individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt | |||||
* | After a certain amount of fighting with the mbstowcs API, remove L from | nicm | 2011-07-08 | 1 | -4/+12 | |
| | | | | | | the wcsdup example. ok stsp | |||||
* | no more math(3); | jmc | 2011-07-07 | 9 | -32/+23 | |
| | ||||||
* | Fix some awful code in the example, pointed out by millert@. | nicm | 2011-07-05 | 1 | -3/+3 | |
| | ||||||
* | Add wcsdup(), from NetBSD. | nicm | 2011-07-04 | 3 | -3/+120 | |
| | | | | ok deraadt matthew | |||||
* | as man page states, lower case undoes upper case. add support for little s, | tedu | 2011-06-20 | 1 | -1/+5 | |
| | | | | | no security, for consistency. use of this option is discouraged. :) ok deraadt guenther millert | |||||
* | fix wcscasecmp() parameters; <wchar.h> was correct | naddy | 2011-06-01 | 1 | -2/+2 | |
| | ||||||
* | tweak previous (my fault); | jmc | 2011-05-28 | 1 | -4/+4 | |
| | ||||||
* | wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@ | espie | 2011-05-28 | 3 | -5/+82 | |
| | ||||||
* | save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@ | otto | 2011-05-20 | 1 | -2/+6 | |
| | ||||||
* | introduce symbolic constant for initial number of regions | otto | 2011-05-18 | 1 | -2/+3 | |
| | ||||||
* | zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@ | otto | 2011-05-18 | 1 | -14/+8 | |
| | ||||||
* | Avoid fp computations for stats, this make calling malloc_dump() safe in more | otto | 2011-05-12 | 1 | -10/+7 | |
| | | | | cases. | |||||
* | fix comment, the bitmap is an array of u_short now | otto | 2011-05-12 | 1 | -2/+2 | |
| | ||||||
* | Introduce leak detection code for MALLOC_STATS | otto | 2011-05-12 | 1 | -25/+165 | |
| | ||||||
* | Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top. | otto | 2011-05-08 | 1 | -137/+141 | |
| | ||||||
* | Up until now, malloc scanned the bits of the chunk bitmap from | otto | 2011-05-05 | 1 | -32/+24 | |
| | | | | | | | | | | | | | | | | | | position zero, skipping a random number of free slots and then picking the next free one. This slowed things down, especially if the number of full slots increases. This changes the scannning to start at a random position in the bitmap and then taking the first available free slot, wrapping if the end of the bitmap is reached. Of course we'll still scan more if the bitmap becomes more full, but the extra iterations skipping free slots and then some full slots are avoided. The random number is derived from a global, which is incremented by a few random bits every time a chunk is needed (with a small optimization if only one free slot is left). Thanks to the testers! | |||||
* | Now that we use an array of u_short for the chunk bitmap change a few | otto | 2011-04-30 | 1 | -5/+5 | |
| | | | | 1UL to 1U. | |||||
* | More efficient scanning for free chunks while not losing any randomization; | otto | 2011-04-30 | 1 | -21/+25 | |
| | | | | thanks to all testers. | |||||
* | Tweak the description of the optional parts around =. Found this in my | otto | 2011-04-27 | 1 | -5/+7 | |
| | | | | tree, no idea where it came from; ok millert@ jmc@ | |||||
* | Fix spacing nit. | matthew | 2011-04-19 | 1 | -3/+3 | |
| | | | | ok jmc@ | |||||
* | Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@ | matthew | 2011-04-05 | 2 | -22/+46 | |
| | | | | | | | | | | about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@. ok henning@, jmc@; positive feedback from djm@, ajacoutat@ Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@. | |||||
* | Add a wcswidth man page (based on FreeBSD), and fix the implementation | stsp | 2011-04-04 | 3 | -5/+68 | |
| | | | | | to return -1 in case of an unprintable character. ok nicm jmc | |||||
* | tweak for clarity, ok millert@, jmc@ | espie | 2011-03-21 | 1 | -4/+4 | |
| | ||||||
* | wrong type for variable; spotted by christian.siebert@cs.tu-chemnitz.de | deraadt | 2011-03-06 | 1 | -3/+3 | |
| | | | | ok guenther | |||||
* | Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a new | guenther | 2011-03-05 | 3 | -44/+16 | |
| | | | | | | | | argv and don't suppress the handling of leading '-' in optstring when POSIXLY_CORRECT is set. Based on patch from Eric Blake. ok and manpage update from millert@, manpage ok jmc@ | |||||
* | Fix __cxa_finalize() so that calling __cxa_finalize(NULL) properly | matthew | 2011-03-02 | 1 | -2/+2 | |
| | | | | | | invokes handlers registered with __cxa_atexit(). "seems right" deraadt@ | |||||
* | Correctly escape a literal colon in an enclosure; | schwarze | 2011-01-24 | 1 | -3/+3 | |
| | | | | the \: roff escape is an optional line break. |