Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-14 | Remove str2number(), use strtonum(3) instead. | Ray Lai | |
Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ | |||
2006-04-12 | document ESRCH; from kristaps johnson (pr #5074) | Jason McIntyre | |
description lifted from kill(2), as pointed out by deraadt ok deraadt | |||
2006-04-11 | duplicate in the safe list | Theo de Raadt | |
2006-04-10 | telldir/seekdir optimization, avoid scanning the complete list, | Otto Moerbeek | |
while still returning the correct index for seekdir(); telldir() Tested by Fred Crowson and others; "put it in" deraadt@ | |||
2006-04-09 | a few rlim_t casts, kind of ok otto and millert | Theo de Raadt | |
2006-04-04 | POSIX says tdelete() returns the parent of the deleted node. Sadly the | Otto Moerbeek | |
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. | |||
2006-04-04 | When tdelete() is used to delete the root node, don't return a | Moritz Jodeit | |
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@ | |||
2006-04-03 | a few size_t casts are needed here; ok otto | Theo de Raadt | |
2006-04-03 | be more careful with atoi() result; ok otto | Theo de Raadt | |
2006-04-02 | malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks | Damien Miller | |
suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | |||
2006-04-02 | kill atoi(), correct signedness of internal API gettype(); ok a few people | Theo de Raadt | |
2006-04-02 | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX and | Otto Moerbeek | |
remove redundant check on size. ok millert@ deraadt@ | |||
2006-04-02 | be more careful checking for (off_t)-1 as the failure condition from | Theo de Raadt | |
lseek(), not just any old -1; ok millert | |||
2006-04-02 | sprinkle a socklen_t | Theo de Raadt | |
2006-04-01 | - Plug huge mem leak; mostly samba was suffering. | Otto Moerbeek | |
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code that implements this will be made faster in a later commit. - We loose documented behaviour (after closedir() the telldir() positions are not valid anymore). This was never in Posix, and most other systems have nothing like it. Diff originally from Paul Thorn, rewritten by me using some FreeBSD code. "slap it in" deraadt@ | |||
2006-03-31 | No longer need limits.h | Todd C. Miller | |
2006-03-31 | nfds is not constrained by OPEN_MAX for nftw(), only ftw() | Todd C. Miller | |
2006-03-31 | sprinkle a bit of ARGSUSED | Theo de Raadt | |
2006-03-31 | internal API newgetbroadcastnets() does not need a sock | Theo de Raadt | |
2006-03-31 | Document NET_RT_STATS. | Claudio Jeker | |
2006-03-31 | (char)to{upper,lower}() | Theo de Raadt | |
2006-03-31 | ARGSUSED where needed | Theo de Raadt | |
2006-03-31 | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); | Theo de Raadt | |
is not valid code; found by lint | |||
2006-03-31 | Gently cast to make lint happy. | Dale Rahn | |
2006-03-31 | Be kind to lint, and specify the correct width on these constants. | Dale Rahn | |
2006-03-31 | after we changed mode_t to be an int, the devname() man page was | Theo de Raadt | |
updated but the function itself never was; ok millert | |||
2006-03-29 | Xr to strtonum(3), because vice versa is already the case | Alexander von Gernler | |
ok jmc@ otto@ | |||
2006-03-26 | Add warning about malloc(num * size) and recommend calloc() instead, | Ray Lai | |
or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s. | |||
2006-03-25 | Fix description of KERN_VNODE, okay deraadt@ | Pedro Martelletto | |
2006-03-22 | Pass size of correct variable to memset(). | Ray Lai | |
From Alexey Dobriyan. OK otto@ | |||
2006-03-22 | Simplify cgetnext(3) by using strcspn(3). | Ray Lai | |
OK jaredy@ and otto@ | |||
2006-03-19 | Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis. | Otto Moerbeek | |
ok millert@ | |||
2006-03-19 | Remove extraneous cast to malloc call in fgetln example. | Ray Lai | |
OK otto@ | |||
2006-03-18 | In all these cases pfp != NULL. I also sneaked in some KNF. | Ray Lai | |
Okay jaredy, millert@, and otto@ | |||
2006-03-15 | spelling, jon@vexed.se | Theo de Raadt | |
2006-03-15 | Removes extraneous variables from getopt(3). Inspired by one of | Ray Lai | |
David Hill's diffs. ok otto | |||
2006-03-14 | add italian nls; from jwk@xtf.it | Theo de Raadt | |
2006-03-14 | missing newline | Theo de Raadt | |
2006-03-13 | Clean the correct file. ok deraadt@ | Moritz Jodeit | |
2006-03-13 | Correctly check for the exit value of getopt(1) and don't | Moritz Jodeit | |
overwrite it with the value from ``set''. ok millert@ | |||
2006-03-12 | if a system call has no arguments, declare it (void), so that lint is | Theo de Raadt | |
happier; ok moritz | |||
2006-03-12 | Cleanup to avoid a save errno dance; from Andrey Matveev; ok pat@ | Otto Moerbeek | |
jaredy@ ray@ | |||
2006-03-10 | Don't dereference NULL pointer if file is truncated. | Ray Lai | |
Sync with cap_mkdb(1). ok otto and millert | |||
2006-02-22 | Avouid a race in atexit() handling by introducing a lock. Problem | Otto Moerbeek | |
originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@ | |||
2006-02-18 | Update to tzcode2006a; primarily just cast and const fixes. | Todd C. Miller | |
2006-02-14 | quick path for free(0) | Marc Espie | |
`looks to be safe' millert, okay tedu. | |||
2006-02-06 | typos from alexey dobriyan; | Jason McIntyre | |
2006-01-30 | document posixness; | Jason McIntyre | |
fixes pr #4996, from joachim schipper; | |||
2006-01-25 | Fix a memory leak that could be trigged by a read error | Todd C. Miller | |
Update the count of currently cached pages in mpool_delete() Use CIRCLEQ_EMPTY in the loop that delets the lru cache Don't update the pageread statistic if there was a read error With aaron@, OK krw@ | |||
2006-01-24 | Add missing break; in a switch case statement from r1.7 pread() changes. From | Aaron Campbell | |
dhelder AT arbor.net. millert@ ok |