Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix a !foo & bar. | thib | 2006-05-19 | 1 | -2/+2 | |
| | | | | ok miod@, tedu@, pedro@ | |||||
* | Fix the second malloc_ulimit regression: maintaining the free list | otto | 2006-05-14 | 1 | -3/+12 | |
| | | | | | | requires memory; try to make sure we have it. If all fails, leak instead of crash. Test case originally found by cloder@, fix tested by many. | |||||
* | strtonum does not require limits.h | tedu | 2006-04-25 | 1 | -2/+1 | |
| | | | | spotted by ray some time ago | |||||
* | Do not leave an hole in the directory list if allocation of the | otto | 2006-04-24 | 1 | -11/+32 | |
| | | | | | | | region succeeds, but allocation a required page dir failed. This can happen if we're really close to ulimit after allocation the region of the size requested. See malloc_ulimit1 regress test. Tested by many; thanks. | |||||
* | delint; original from deraadt@ with fixes from tdeval@ and me; | otto | 2006-04-18 | 1 | -43/+60 | |
| | | | | tested by quite a few developers. ok deraadt@ | |||||
* | POSIX says tdelete() returns the parent of the deleted node. Sadly the | otto | 2006-04-04 | 1 | -1/+9 | |
| | | | | | | root node doesn't have a parent, and POSIX does not say what should be done in that case. Warn developers that different implementations may do different things. | |||||
* | When tdelete() is used to delete the root node, don't return a | moritz | 2006-04-04 | 2 | -3/+5 | |
| | | | | | | | | | | pointer to the freed root node, but return a pointer to the new root node. POSIX does not define, what should be returned in that case. Fixes Coverity CID 2528. ok millert@ otto@ | |||||
* | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX and | otto | 2006-04-02 | 2 | -4/+4 | |
| | | | | remove redundant check on size. ok millert@ deraadt@ | |||||
* | Xr to strtonum(3), because vice versa is already the case | grunk | 2006-03-29 | 1 | -1/+2 | |
| | | | | ok jmc@ otto@ | |||||
* | Add warning about malloc(num * size) and recommend calloc() instead, | ray | 2006-03-26 | 1 | -5/+40 | |
| | | | | | | | | or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s. | |||||
* | Removes extraneous variables from getopt(3). Inspired by one of | ray | 2006-03-15 | 1 | -3/+1 | |
| | | | | | | David Hill's diffs. ok otto | |||||
* | Avouid a race in atexit() handling by introducing a lock. Problem | otto | 2006-02-22 | 1 | -9/+20 | |
| | | | | | originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@ | |||||
* | quick path for free(0) | espie | 2006-02-14 | 1 | -5/+5 | |
| | | | | `looks to be safe' millert, okay tedu. | |||||
* | document posixness; | jmc | 2006-01-30 | 2 | -9/+7 | |
| | | | | fixes pr #4996, from joachim schipper; | |||||
* | missing auxillary verb | jakemsr | 2006-01-18 | 1 | -2/+2 | |
| | | | | "yes, that is correct." jmc@ (a while back) | |||||
* | back out previous - imaxabs is already listed; | jmc | 2006-01-15 | 1 | -2/+1 | |
| | ||||||
* | Xr imaxabs() | millert | 2006-01-14 | 1 | -1/+2 | |
| | ||||||
* | fix the .Fn line; ok millert | jmc | 2006-01-14 | 1 | -2/+2 | |
| | ||||||
* | sort SEE ALSO; | jmc | 2006-01-14 | 1 | -2/+2 | |
| | ||||||
* | Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax() | millert | 2006-01-13 | 17 | -74/+685 | |
| | ||||||
* | Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa) | millert | 2006-01-10 | 2 | -11/+15 | |
| | | | | Remove an extraneous check for dtoa returning Inf/Nan | |||||
* | Use localeconv() to get the locale-specific radix char like printf does. | millert | 2006-01-10 | 1 | -3/+6 | |
| | ||||||
* | Nan and Infinity can be negative | millert | 2006-01-10 | 1 | -6/+12 | |
| | | | | | | | Decimal point was missing for some exponential output Only divide sign by 10 once per loop Add a missing NUL terminator for one case If there is no whole number portion, print a leading zero (e.g. 0.1 not .1) | |||||
* | Prototypes live in <search.h> | millert | 2005-12-23 | 1 | -1/+2 | |
| | ||||||
* | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | otto | 2005-11-30 | 2 | -42/+14 | |
| | | | | | | | and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | |||||
* | add $OpenBSD$ tags, as requested by dtucker. | espie | 2005-11-10 | 1 | -0/+1 | |
| | ||||||
* | Remove obsolete comment. ok deraadt@ | otto | 2005-10-26 | 1 | -5/+1 | |
| | ||||||
* | clarifications from ray lai; | jmc | 2005-10-26 | 1 | -3/+5 | |
| | | | | tweaked by tedu@ and myself; | |||||
* | dont' -> don't in comments; | jmc | 2005-10-25 | 1 | -2/+2 | |
| | | | | from ray lai; | |||||
* | tidy up examples | jaredy | 2005-10-11 | 3 | -17/+16 | |
| | | | | | | | | - use err() for error handling - add lint hints - spacing nits and missing braces ok otto | |||||
* | fix a few warnings, keep the crypt stuff for later. | espie | 2005-10-10 | 1 | -2/+2 | |
| | | | | okay otto@ | |||||
* | Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95. | espie | 2005-10-10 | 1 | -3/+3 | |
| | | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks. | |||||
* | further knf and cleaning; ok tdeval | deraadt | 2005-10-05 | 1 | -382/+364 | |
| | ||||||
* | first KNF (no binary diffs) | deraadt | 2005-10-05 | 1 | -1322/+1356 | |
| | ||||||
* | spelling: you missed this one david ;) | jmc | 2005-08-22 | 1 | -2/+2 | |
| | ||||||
* | zap remaining rcsid. | espie | 2005-08-08 | 55 | -361/+52 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | |||||
* | tell people that atexit is bad; ok jmc | deraadt | 2005-08-06 | 1 | -1/+7 | |
| | ||||||
* | kill errant blank line; | jmc | 2005-07-26 | 1 | -2/+1 | |
| | ||||||
* | - typos, punctuation, layout, macro tweaks | jaredy | 2005-07-26 | 9 | -34/+48 | |
| | | | | | | - break long lines ok jmc | |||||
* | - typos, grammar, punctuation, layout tweaks | jaredy | 2005-07-26 | 1 | -74/+156 | |
| | | | | | | | | - use `$' for command prompts - clean up: use a bullet list instead of adding junk to denote list items ok jmc | |||||
* | provide a description of the EXAMPLE; ok jmc | jaredy | 2005-07-26 | 1 | -2/+11 | |
| | ||||||
* | note when these first appeared; ok jmc | jaredy | 2005-07-26 | 1 | -1/+3 | |
| | ||||||
* | kill errant full stop; | jmc | 2005-07-07 | 1 | -2/+2 | |
| | ||||||
* | got to be a pasto... | jmc | 2005-07-07 | 1 | -4/+4 | |
| | ||||||
* | Fix the unmapping of freed pages, leaving just 64k worth of cache pages. | tdeval | 2005-07-07 | 1 | -58/+136 | |
| | | | | Prodded by art@ and fgsch@, ok deraadt@ | |||||
* | whitespace; | jmc | 2005-07-01 | 1 | -4/+4 | |
| | ||||||
* | More robust example of numeric argument handling. The old example | millert | 2005-07-01 | 1 | -11/+23 | |
| | | | | | code would dereference NULL for mixed letter and number args. OK deraadt@ | |||||
* | no longer a need for the free(malloc(1)) hack, because the brk stuff | deraadt | 2005-06-17 | 1 | -9/+5 | |
| | | | | | no longer needs initializing (we use mmap for malloc entirely now) noticed by kjell, ok dhartmei, tested by me | |||||
* | no need to insert spacing between list members; | jmc | 2005-06-07 | 1 | -13/+1 | |
| | ||||||
* | adding pointer protection to 'G' was too heavyweight. Since malloc guard | tedu | 2005-06-07 | 2 | -7/+14 | |
| | | | | should be generally usable, split this out into option 'P'. ok deraadt |