summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-04-14delintDavid Hill
ok otto@
2006-04-14fix for heimdal 0.7.2Bjorn Sandell
2006-04-14Remove 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-12make rthreads compile againHenning Brauer
pthreads header changed, char * -> const char *
2006-04-12document ESRCH; from kristaps johnson (pr #5074)Jason McIntyre
description lifted from kill(2), as pointed out by deraadt ok deraadt
2006-04-11duplicate in the safe listTheo de Raadt
2006-04-10telldir/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-10minimal cleanups lint begs forTheo de Raadt
2006-04-09new sentence, new line;Jason McIntyre
2006-04-09macro fix; from moritz grimmJason McIntyre
2006-04-09delete breaks that are not neededTheo de Raadt
2006-04-09a few rlim_t casts, kind of ok otto and millertTheo de Raadt
2006-04-09Change a debug interface to take const char pointers so we don't aveKenneth R Westerback
to cast away constness whenever we want to pass in a string that is already const -- we copy the string if we want to use it, so having it be non-const in the first place does not make any sense. From tholo@ ok tedu@
2006-04-06- due to the fninit() in _thread_machdep_save_float_state() all calls toKurt Miller
it need to be matched with a call to _thread_machdep_restore_float_state(), so add missing one in _thread_machdep_init(). - 16-byte align fp frame - call fwait() before save and and after restoring fp state. lots of guidance and ok mickey@
2006-04-04POSIX says tdelete() returns the parent of the deleted node. Sadly theOtto 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-04When tdelete() is used to delete the root node, don't return aMoritz 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-03a few size_t casts are needed here; ok ottoTheo de Raadt
2006-04-03be more careful with atoi() result; ok ottoTheo de Raadt
2006-04-02sprinkle some lint loveTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-04-02kill atoi(), correct signedness of internal API gettype(); ok a few peopleTheo de Raadt
2006-04-02Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andOtto Moerbeek
remove redundant check on size. ok millert@ deraadt@
2006-04-02getting to the bottom of the issues. sprinkle a few casts that willTheo de Raadt
actually help us find bugs later (with lint, not cc), if they get introduced
2006-04-02be more careful checking for (off_t)-1 as the failure condition fromTheo de Raadt
lseek(), not just any old -1; ok millert
2006-04-02sprinkle a socklen_tTheo 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-31No longer need limits.hTodd C. Miller
2006-03-31nfds is not constrained by OPEN_MAX for nftw(), only ftw()Todd C. Miller
2006-03-31sprinkle a bit of ARGSUSEDTheo de Raadt
2006-03-31internal API newgetbroadcastnets() does not need a sockTheo de Raadt
2006-03-31Document NET_RT_STATS.Claudio Jeker
2006-03-31(char)to{upper,lower}()Theo de Raadt
2006-03-31ARGSUSED where neededTheo de Raadt
2006-03-31oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);Theo de Raadt
is not valid code; found by lint
2006-03-31Gently cast to make lint happy.Dale Rahn
2006-03-31Be kind to lint, and specify the correct width on these constants.Dale Rahn
2006-03-31careful cleanup following advice from lint. be very very very carefulTheo de Raadt
with sprinkling in size_t!
2006-03-31ARGSUSED for for a few thingsTheo de Raadt
2006-03-31lint happiness, mostly avoiding variable aliasingTheo de Raadt
2006-03-31kvm_openfiles() should take int flag, not unsignedTheo de Raadt
2006-03-31after we changed mode_t to be an int, the devname() man page wasTheo de Raadt
updated but the function itself never was; ok millert
2006-03-30casts that cannot cause breakage in the futureTheo de Raadt
2006-03-30change internal login_protect() API to use mode_t like it shouldTheo de Raadt
2006-03-30please lint (without making anything else worse)Theo de Raadt
2006-03-30Fix a bzero() misuse; ok otto@ deraadt@Patrick Latifi
2006-03-30introduce a way to free the base.Brad Smith
From libevent CVS
2006-03-29Xr to strtonum(3), because vice versa is already the caseAlexander von Gernler
ok jmc@ otto@
2006-03-28use clock_gettime if available.Brad Smith
From claudio@ via libevent CVS ok claudio@
2006-03-27MLINK to new man pagesTheo de Raadt
2006-03-26add remaining tcpdump.org libpcap 0.9 APIs, most notablyDamien Miller
pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@