Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-22 | rpcgen(1): default to "STDIN" as input file when compiling to headers. | Dave Voutila | |
FreeBSD, NetBSD, and GNU all use a variation of "STDIN" as the default input filename when compiling to header files (-h) to prevent a NULL-pointer deference. Adopt a similar approach. ok millert@ | |||
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther | |
ok miod@ millert@ | |||
2021-10-24 | What kind of Sun idiot called open() with flags of "2". | Theo de Raadt | |
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
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. | |||
2018-04-26 | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | Philip Guenther | |
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. | |||
2016-12-22 | Avoid "unused variable 'i'" warnings in generated .c files by only emitting | Kenneth R Westerback | |
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@ | |||
2016-12-20 | Add 'default:' cases to switch statements that gcc whines about. | Kenneth R Westerback | |
ok jung@ | |||
2016-12-20 | Tweak generated .c output so switch statements always have a | Kenneth R Westerback | |
'default:' case. Several hundred "not handled" warnings go away. ok deraadt@ | |||
2016-01-15 | Add support for parsing 'hyper' and 'quad' types, as per RFC4506. | Jasper Lievisse Adriaanse | |
From FreeBSD ok millert@ | |||
2015-11-11 | exit() after perror() for pledge failure. Perhaps this got introduced | Theo de Raadt | |
as a test idiom, either when pledge was young or during the transition to strings.... dunno | |||
2015-10-10 | pledge "stdio rpath wpath cpath proc exec"; this spawns cpp. | Theo de Raadt | |
ok doug | |||
2015-09-11 | The -D option requires an argument, and the argument must follow | Ingo Schwarze | |
without intervening whitespace. Documentation bug found because the SYNOPSIS markup was technically incomplete. | |||
2015-08-20 | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | Theo de Raadt | |
ok krw millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
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) | |||
2014-11-18 | Nuke more obvious #include duplications. | Kenneth R Westerback | |
ok deraadt@ millert@ tedu@ | |||
2014-01-20 | Obvious .Xr fixes, found while testing mandocdb(8). | Ingo Schwarze | |
2013-11-28 | unsigned char for ctype | Theo de Raadt | |
ok krw okan | |||
2013-10-27 | If a constant string needs a name, use a static const array instead of a | Philip Guenther | |
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@ | |||
2013-01-17 | remove uesless Pp; | Jason McIntyre | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2011-04-06 | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | Miod Vallat | |
for chars. | |||
2010-09-19 | more wacky macro fixing; | Jason McIntyre | |
2010-09-01 | Oracle has re-licensed sunrpc under a three-clause BSD license. | Todd C. Miller | |
Update our sources appropriately. OK deraadt@ jsg@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
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 | |||
2007-11-17 | .IP -> .Pp | Jason McIntyre | |
2007-10-03 | nullproc() is used in more than one file. | Tobias Weingartner | |
millert@ ok | |||
2007-10-03 | Nuke MSDOS portion. Add <unistd.h> for STDERR_FILENO in the | Tobias Weingartner | |
generated files. "Yes, with extreme prejudice." millert@ | |||
2007-10-03 | Some -Wall cleanup to help fix other bugs. | Tobias Weingartner | |
ok krw@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-03-22 | NetBSD - plug leak in generate_guard() | David Hill | |
- plug leak in h_output(), coverity cid 100 NetBSD plug leak, coverity cid 98. NetBSD plug leak, coverity cid 94. ok ray@ jaredy@ moritz@ | |||
2005-10-20 | defintion -> definition; | Jason McIntyre | |
2004-07-16 | Avoid generating an unused variable. From NetBSD. ok deraadt@ | Matthieu Herrb | |
2004-05-09 | delint | Theo de Raadt | |
2003-12-01 | Format string fixes from art's amd64 tree. | Alexander Yurchenko | |
ok rohee@ espie@ | |||
2003-08-16 | missing comma in non-ansi mode; spotted by pvalchev | Theo de Raadt | |
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-07-10 | add missing includes | David Krause | |
ok deraadt@ tedu@ | |||
2003-07-09 | protos | Theo de Raadt | |
2003-07-06 | generate protos for functions | Theo de Raadt | |
2003-06-25 | protos | Theo de Raadt | |
2003-06-25 | better output C | Theo de Raadt | |
2003-06-19 | generate code that is much more ANSI and even KNF too | Theo de Raadt | |
2003-06-11 | de-register | Theo de Raadt | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-01 | various format string cleanups; tedu ok | Theo de Raadt | |
2003-04-26 | get rid of incorrectly sized buffer by using strdup/asprintf, | Peter Valchev | |
also simplifies things; ok millert | |||
2003-04-14 | recommit, with the typo fixed | Theo de Raadt | |
2003-04-14 | oops | Theo de Raadt | |
2003-04-14 | strlcpy, pretty easy | Theo de Raadt | |