summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | When tdelete() is used to delete the root node, don't return amoritz2006-04-042-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@
* | | | be more careful with atoi() result; ok ottoderaadt2006-04-031-3/+5
| | | |
* | | | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andotto2006-04-022-4/+4
| | | | | | | | | | | | | | | | remove redundant check on size. ok millert@ deraadt@
* | | | Use NFILES for starting point instead of hardcoded constotto2006-04-011-2/+2
| | | |
* | | | (char)to{upper,lower}()deraadt2006-03-312-6/+6
| | | |
* | | | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);deraadt2006-03-311-1/+1
| | | | | | | | | | | | | | | | is not valid code; found by lint
* | | | Xr to strtonum(3), because vice versa is already the casegrunk2006-03-291-1/+2
| | | | | | | | | | | | | | | | ok jmc@ otto@
* | | | Add warning about malloc(num * size) and recommend calloc() instead,ray2006-03-261-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.
* | | | hook telldirotto2006-03-251-2/+2
| | | |
* | | | telldir/seekdir regress tesst. Fails on -current, since seekdir(x),otto2006-03-252-0/+111
| | | | | | | | | | | | | | | | telldir() does not return x. This will we fixed.
* | | | Pass size of correct variable to memset().ray2006-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | From Alexey Dobriyan. OK otto@
* | | | Removes extraneous variables from getopt(3). Inspired by one ofray2006-03-151-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | David Hill's diffs. ok otto
* | | | make BN_is_prime() realise that 2 is, in fact, a prime number.djm2006-03-142-2/+6
| | | | | | | | | | | | | | | | from OpenSSL CVS; ok otto@ deraadt@
* | | | Hook up getcap test.ray2006-03-101-2/+2
| | | |
* | | | Regression test for truncated file.ray2006-03-103-0/+37
| | | | | | | | | | | | | | | | ok otto and millert
* | | | Avouid a race in atexit() handling by introducing a lock. Problemotto2006-02-222-10/+32
| | | | | | | | | | | | | | | | | | | | originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@
* | | | quick path for free(0)espie2006-02-141-5/+5
| | | | | | | | | | | | | | | | `looks to be safe' millert, okay tedu.
* | | | type correctness; from Ray Lai in PR 5011; ok millert@otto2006-02-111-2/+2
| | | |
* | | | remove obsolete code; from Ray Lai in PR 4998; ok tedu@ beck@otto2006-02-011-8/+1
| | | |
* | | | use "proxy_protocol" as the arg to -X, not "proxy_version";jmc2006-01-311-2/+2
| | | | | | | | | | | | | | | | from ray lai;
* | | | document posixness;jmc2006-01-302-9/+7
| | | | | | | | | | | | | | | | fixes pr #4996, from joachim schipper;
* | | | implement HTTP proxy authentication support, very useful in a ssh_configdjm2006-01-253-23/+95
| | | | | | | | | | | | | | | | ProxyCommand; ok beck@
* | | | Explicitly include limits.h if we are going to use its contents.millert2006-01-201-1/+2
| | | |
* | | | missing auxillary verbjakemsr2006-01-181-2/+2
| | | | | | | | | | | | | | | | "yes, that is correct." jmc@ (a while back)
* | | | Include limits.h directly instead of depending on another headermillert2006-01-172-2/+4
| | | | | | | | | | | | | | | | to include it for us.
* | | | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENmillert2006-01-171-2/+2
| | | |
* | | | back out previous - imaxabs is already listed;jmc2006-01-151-2/+1
| | | |
* | | | Xr imaxabs()millert2006-01-141-1/+2
| | | |
* | | | fix the .Fn line; ok millertjmc2006-01-141-2/+2
| | | |
* | | | sort SEE ALSO;jmc2006-01-141-2/+2
| | | |
* | | | Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()millert2006-01-1317-74/+685
| | | |
* | | | Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa)millert2006-01-102-11/+15
| | | | | | | | | | | | | | | | Remove an extraneous check for dtoa returning Inf/Nan
* | | | Use localeconv() to get the locale-specific radix char like printf does.millert2006-01-101-3/+6
| | | |
* | | | Nan and Infinity can be negativemillert2006-01-101-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)
* | | | Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> toclaudio2005-12-303-3/+6
| | | | | | | | | | | | | | | | | | | | the list of necessary includes. Now the manpages match reality. OK mpf@ millert@
* | | | Prototypes live in <search.h>millert2005-12-231-1/+2
| | | |
* | | | handle chroot and res_init calls better. diagnosis assistance from otto.tedu2005-12-221-21/+18
| | | | | | | | | | | | | | | | ok deraadt otto.
* | | | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeotto2005-11-303-51/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* | | | ISOXXX/ISO-XXX -> ISO XXXjmc2005-11-271-3/+3
| | | |
* | | | use WANTLINT= (on all architectures)deraadt2005-11-242-2/+4
| | | |
* | | | Do not clobber errno when calling close(2) in example code.otto2005-11-151-2/+6
| | | | | | | | | | | | | | | | From form@ via mpech@
* | | | Use a forward declaration of struct timespec instead of assumingmillert2005-11-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@
* | | | save errno in example code. from mpech@ ok jmc@otto2005-11-131-1/+3
| | | |
* | | | add $OpenBSD$ tags, as requested by dtucker.espie2005-11-102-0/+2
| | | |
* | | | Activate missing wcswidth, as noted by Alexander Bluhm.espie2005-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one)
* | | | Remove obsolete comment. ok deraadt@otto2005-10-261-5/+1
| | | |
* | | | clarifications from ray lai;jmc2005-10-261-3/+5
| | | | | | | | | | | | | | | | tweaked by tedu@ and myself;
* | | | dont' -> don't in comments;jmc2005-10-251-2/+2
| | | | | | | | | | | | | | | | from ray lai;
* | | | Make set_common_sockopts() a void since it doesn't return anything anyway.dtucker2005-10-251-3/+3
| | | | | | | | | | | | | | | | Makes netcat -Wall clean. ok djm@
* | | | Add a -T option to nc to allow setting of IP type-of-service bits ondtucker2005-10-252-4/+43
| | | | | | | | | | | | | | | | connections. Man page corrections jmc@, code corrections and ok djm@