Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build the error message in strerror_r.c directly, avoiding one copy there. | espie | 2004-05-03 | 3 | -120/+109 | |
| | | | | | | | | handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@. | |||||
* | let __strerror fill precisely the part of the buffer it can. | espie | 2004-05-01 | 1 | -17/+18 | |
| | | | | okay millert@ | |||||
* | Let __strerror work by fixing a number of problems. Work by tholo and I, | espie | 2004-04-30 | 1 | -22/+52 | |
| | | | | | | | | okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int. | |||||
* | more display/list fixes, and a little whitespace; | jmc | 2004-04-16 | 1 | -2/+1 | |
| | ||||||
* | remove references to rfc 2553, since 3493 obsoletes it; | jmc | 2004-04-14 | 1 | -11/+2 | |
| | | | | ok itojun@ | |||||
* | implement RFC3493 AI_NUMERICSERV. tedu ok | itojun | 2004-04-14 | 2 | -47/+40 | |
| | ||||||
* | Clean up malloc_active state when aborting. | tdeval | 2004-04-12 | 1 | -3/+5 | |
| | | | | | | | This allows for safe abort handling, without tripping into false recursivity problems. Ok tedu@, deraadt@ | |||||
* | some of these functions are prototyped in pwd.h; ok deraadt@ | djm | 2004-04-06 | 1 | -1/+2 | |
| | ||||||
* | let rcmdsh work on hosts that don't have an ipv4 address. | marc | 2004-04-01 | 1 | -3/+4 | |
| | | | | If it works it is fine with me -- millert@ | |||||
* | remove some weirdness; | jmc | 2004-03-14 | 1 | -2/+1 | |
| | ||||||
* | fix formatting, Pedro Martelletto | tedu | 2004-03-02 | 1 | -3/+3 | |
| | ||||||
* | do not recommend a format string error..; pbastos@rdc.puc-rio.br | deraadt | 2004-03-01 | 1 | -3/+3 | |
| | ||||||
* | Sanity fix. | tdeval | 2004-02-19 | 1 | -2/+5 | |
| | | | | reviewed by deraadt@, tedu@ | |||||
* | remove redundant code, u_int8_t cannot be > 0xff | otto | 2004-02-16 | 1 | -16/+2 | |
| | | | | ok deraadt@ millert@ | |||||
* | kill memory.3; | jmc | 2004-02-10 | 2 | -66/+1 | |
| | | | | suggested by deraadt@ | |||||
* | add MLINKS for 64-bit functions in byteorder(3); | jmc | 2004-02-10 | 1 | -4/+6 | |
| | | | | passes miod's "make sure it doesn't break libc or libpthread" test; | |||||
* | make Nm match Dt; | jmc | 2004-02-10 | 1 | -10/+2 | |
| | ||||||
* | make Nm match Dt; found by pb@ | jmc | 2004-02-09 | 1 | -23/+2 | |
| | | | | some of this ok espie@, all of it ok deraadt@ | |||||
* | punctuate variable; okay jmc@. | espie | 2004-02-09 | 1 | -2/+2 | |
| | ||||||
* | Traditionally, getopt(3) has treated "--foo" the same as "--". However, | millert | 2004-02-04 | 1 | -10/+9 | |
| | | | | | | | | this can cause confusion when a user tries to use a long option with a program that only supports short options. Furthermore, it appears to be in violation of POSIX, which states that "--" shall indicate the end of argument processing, not any string that begins with "--". OK otto@ and closes PR 3666. | |||||
* | H comes before J; | jmc | 2004-02-04 | 1 | -6/+6 | |
| | ||||||
* | Obsoleted by getopt_long.c | millert | 2004-02-03 | 1 | -116/+0 | |
| | ||||||
* | Correct the arm ifdefs previously inserted, is working correctly now. | drahn | 2004-02-03 | 1 | -3/+3 | |
| | ||||||
* | 'F'reeguard doc, as reported missing by brad. nit free thanks to jmc | tedu | 2004-02-02 | 1 | -1/+8 | |
| | ||||||
* | Add const type qualifier. ok jmc@ | nordin | 2004-02-01 | 2 | -4/+4 | |
| | ||||||
* | s/arm32/arm/ with VFP bit to match netbsd. | drahn | 2004-02-01 | 1 | -3/+3 | |
| | ||||||
* | the rest of the libs stuff; from art@ again | mickey | 2004-01-28 | 1 | -2/+3 | |
| | ||||||
* | use new .St macro; | jmc | 2004-01-25 | 3 | -5/+5 | |
| | ||||||
* | `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8)) | jmc | 2004-01-23 | 5 | -10/+10 | |
| | | | | discussed with todd@ | |||||
* | Call _exit() not exit() from abort() if we are unable to kill ourselves | millert | 2004-01-20 | 1 | -3/+3 | |
| | | | | | to avoid flushing stdio twice. This code path should never really happen though. Also make the function declaration ANSI. OK deraadt@ | |||||
* | Fix the example code. The loop invariant 'i' was not bound by MAXTOKENS | millert | 2004-01-20 | 1 | -3/+3 | |
| | | | | | which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block. | |||||
* | - Rename index to longindex and explain its use. | fgsch | 2004-01-06 | 1 | -9/+20 | |
| | | | | | | | | - Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok. | |||||
* | sync protos with <netdb.h>; | jmc | 2003-12-30 | 1 | -3/+3 | |
| | | | | from Andrey Matveev; | |||||
* | niels kindly dropped clause 3/4 from the license. tnx! | itojun | 2003-12-12 | 1 | -6/+1 | |
| | ||||||
* | we can skip arc4random() call here. markus | itojun | 2003-12-12 | 1 | -2/+2 | |
| | ||||||
* | correct non-repetitive ID code, based on comments from niels provos. | itojun | 2003-12-10 | 1 | -12/+16 | |
| | | | | | | - seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000) | |||||
* | Discard first 256 bytes of keystream, as per recommendation in | djm | 2003-11-26 | 1 | -1/+10 | |
| | | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@ | |||||
* | wording improvements from Brian Poole; | jmc | 2003-11-25 | 1 | -5/+4 | |
| | | | | kill a .Pp before a display; | |||||
* | only whine about recursion once, so we don't get into problems with loops. | tedu | 2003-11-19 | 1 | -19/+26 | |
| | ||||||
* | by popular demand, malloc guard pages. insert an unreadable/unwriteable | tedu | 2003-10-16 | 2 | -5/+52 | |
| | | | | | | | | page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co. | |||||
* | abort on errors by default. workaround so running out of memory isn't | tedu | 2003-10-15 | 1 | -3/+3 | |
| | | | | | actually an error, A still applies full effect. suggested by phk. ok deraadt@ tdeval@ | |||||
* | ANSIfication; most from Patrick Latifi | millert | 2003-10-06 | 1 | -72/+39 | |
| | | | | OK deraadt@ | |||||
* | Fix off-by-one, patch from Patrick Latifi; closes PR 3492 | millert | 2003-10-03 | 1 | -5/+5 | |
| | ||||||
* | two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@. | tedu | 2003-10-02 | 1 | -4/+7 | |
| | | | | | lock before setting malloc_func, not after. ok cloder@ deraadt@ | |||||
* | updates and corrections to the references in SEE ALSO; | jmc | 2003-10-01 | 1 | -7/+11 | |
| | | | | mostly from tjr@freebsd's rev. 1.14 commit. | |||||
* | full stop. reverse course. remove all periods, so as to be aligned | tedu | 2003-09-30 | 1 | -40/+40 | |
| | | | | with error messages elsewhere. requested ok deraadt@ henning@ | |||||
* | remove register. end all sentences with periods. | tedu | 2003-09-27 | 1 | -16/+16 | |
| | | | | ok deraadt@ henning@ millert@ | |||||
* | put 64bit macros/functions documentation back. | fgsch | 2003-09-26 | 1 | -3/+20 | |
| | ||||||
* | No need to include non-standard machine/endian.h header since | millert | 2003-09-26 | 1 | -3/+13 | |
| | | | | | sys/types does that for us. Add a STANDARDS section that says what is and is not standard. OK fgsch@ | |||||
* | fix buffer size; leonard+gnats@itee.uq.edu.au | deraadt | 2003-09-26 | 1 | -12/+7 | |
| |