Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 2 | -10/+10 | |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | 2018-04-26 | 1 | -3/+1 | |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||||
* | Nuke whitespace foolish enough to expose itself during the great | 2017-01-21 | 3 | -14/+14 | |
| | | | | "warning:" rectification. | ||||
* | Avoid "unused variable 'i'" warnings in generated .c files by only emitting | 2016-12-22 | 1 | -2/+3 | |
| | | | | | | | | | the "int i;" for non-opaque arrays. Opaque arrays use xdr_opaque() rather than iterating over the array. Eliminates another couple of dozen warnings from snap build output. ok deraadt@ millert@ | ||||
* | Add 'default:' cases to switch statements that gcc whines about. | 2016-12-20 | 2 | -2/+11 | |
| | | | | ok jung@ | ||||
* | Tweak generated .c output so switch statements always have a | 2016-12-20 | 1 | -4/+3 | |
| | | | | | | | | 'default:' case. Several hundred "not handled" warnings go away. ok deraadt@ | ||||
* | Add support for parsing 'hyper' and 'quad' types, as per RFC4506. | 2016-01-15 | 3 | -3/+17 | |
| | | | | | | From FreeBSD ok millert@ | ||||
* | exit() after perror() for pledge failure. Perhaps this got introduced | 2015-11-11 | 1 | -2/+4 | |
| | | | | | as a test idiom, either when pledge was young or during the transition to strings.... dunno | ||||
* | pledge "stdio rpath wpath cpath proc exec"; this spawns cpp. | 2015-10-10 | 1 | -1/+4 | |
| | | | | ok doug | ||||
* | The -D option requires an argument, and the argument must follow | 2015-09-11 | 1 | -6/+6 | |
| | | | | | without intervening whitespace. Documentation bug found because the SYNOPSIS markup was technically incomplete. | ||||
* | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | 2015-08-20 | 6 | -33/+30 | |
| | | | | ok krw millert | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -3/+3 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | Nuke more obvious #include duplications. | 2014-11-18 | 1 | -2/+1 | |
| | | | | ok deraadt@ millert@ tedu@ | ||||
* | Obvious .Xr fixes, found while testing mandocdb(8). | 2014-01-20 | 1 | -4/+4 | |
| | |||||
* | unsigned char for ctype | 2013-11-28 | 3 | -17/+20 | |
| | | | | ok krw okan | ||||
* | If a constant string needs a name, use a static const array instead of a | 2013-10-27 | 3 | -10/+10 | |
| | | | | | | | | pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@ | ||||
* | remove uesless Pp; | 2013-01-17 | 1 | -6/+2 | |
| | |||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 7 | -14/+7 | |
| | | | | ok guenther millert kettenis | ||||
* | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | 2011-04-06 | 1 | -2/+2 | |
| | | | | for chars. | ||||
* | more wacky macro fixing; | 2010-09-19 | 1 | -11/+11 | |
| | |||||
* | Oracle has re-licensed sunrpc under a three-clause BSD license. | 2010-09-01 | 13 | -328/+351 | |
| | | | | Update our sources appropriately. OK deraadt@ jsg@ | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 10 | -52/+10 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | .IP -> .Pp | 2007-11-17 | 1 | -3/+3 | |
| | |||||
* | nullproc() is used in more than one file. | 2007-10-03 | 2 | -3/+4 | |
| | | | | millert@ ok | ||||
* | Nuke MSDOS portion. Add <unistd.h> for STDERR_FILENO in the | 2007-10-03 | 1 | -54/+3 | |
| | | | | | | generated files. "Yes, with extreme prejudice." millert@ | ||||
* | Some -Wall cleanup to help fix other bugs. | 2007-10-03 | 10 | -22/+22 | |
| | | | | ok krw@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | NetBSD - plug leak in generate_guard() | 2006-03-22 | 3 | -6/+13 | |
| | | | | | | | | - plug leak in h_output(), coverity cid 100 NetBSD plug leak, coverity cid 98. NetBSD plug leak, coverity cid 94. ok ray@ jaredy@ moritz@ | ||||
* | defintion -> definition; | 2005-10-20 | 1 | -2/+2 | |
| | |||||
* | Avoid generating an unused variable. From NetBSD. ok deraadt@ | 2004-07-16 | 1 | -4/+6 | |
| | |||||
* | delint | 2004-05-09 | 3 | -7/+5 | |
| | |||||
* | Format string fixes from art's amd64 tree. | 2003-12-01 | 1 | -2/+2 | |
| | | | | ok rohee@ espie@ | ||||
* | missing comma in non-ansi mode; spotted by pvalchev | 2003-08-16 | 1 | -2/+2 | |
| | |||||
* | Remove some double semicolons (hmm, do two semis equal a maxi?). | 2003-08-06 | 1 | -2/+2 | |
| | | | | I've skipped the GNU stuff for now. From Patrick Latifi. | ||||
* | add missing includes | 2003-07-10 | 1 | -1/+2 | |
| | | | | ok deraadt@ tedu@ | ||||
* | protos | 2003-07-09 | 7 | -56/+32 | |
| | |||||
* | generate protos for functions | 2003-07-06 | 1 | -1/+14 | |
| | |||||
* | protos | 2003-06-25 | 4 | -10/+9 | |
| | |||||
* | better output C | 2003-06-25 | 1 | -3/+3 | |
| | |||||
* | generate code that is much more ANSI and even KNF too | 2003-06-19 | 2 | -38/+42 | |
| | |||||
* | de-register | 2003-06-11 | 1 | -5/+5 | |
| | |||||
* | - section reorder | 2003-06-10 | 1 | -2/+2 | |
| | | | | | | | | | - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | ||||
* | various format string cleanups; tedu ok | 2003-06-01 | 1 | -2/+2 | |
| | |||||
* | get rid of incorrectly sized buffer by using strdup/asprintf, | 2003-04-26 | 1 | -10/+8 | |
| | | | | also simplifies things; ok millert | ||||
* | recommit, with the typo fixed | 2003-04-14 | 1 | -5/+7 | |
| | |||||
* | oops | 2003-04-14 | 1 | -7/+5 | |
| | |||||
* | strlcpy, pretty easy | 2003-04-14 | 1 | -5/+7 | |
| | |||||
* | use strlcat | 2003-04-06 | 1 | -4/+7 | |
| | |||||
* | snprintf; millert ok | 2003-03-30 | 1 | -7/+7 | |
| | |||||
* | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | 2003-03-13 | 1 | -9/+13 | |
| |