Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-25 | fix a variety of warnings. from Brian Callahan | Ted Unangst | |
2016-09-21 | Fix bad indentation. One already existed in 1.20, one introduced in 1.21; | Otto Moerbeek | |
ok tedu@ | |||
2016-07-27 | it should not be necessary for yacc to use TMPDIR, /tmp is good enough. | Ted Unangst | |
ok beck deraadt guenther | |||
2016-03-22 | merge three obviously redundant adjacent if statements | mmcc | |
from Michael W. Bombardieri | |||
2015-12-31 | Declare yyparse() so the generated code is safe with | Philip Guenther | |
-Werror-implicit-function-declaration ok millert@ | |||
2015-12-30 | Back out of 1.36 and 1.37, which made simplifications to allocation | mmcc | |
logic based on C89. It broke a few C++ ports. Prompted by kettenis@ | |||
2015-12-30 | put back casts for realloc because c++ needs them. reported by naddy | Ted Unangst | |
2015-12-28 | realloc and free's behavior when passed NULL is defined by C89, so we | mmcc | |
can safely assume it. ok millert@. Also discussed with deraadt@, sthen@, and espie@. | |||
2015-12-11 | Remove NULL-checks before free(). | mmcc | |
2015-10-10 | fairly obvious pledges. | Theo de Raadt | |
ok doug | |||
2015-09-09 | The .Nd macro is intended to provide "a one line description", so avoid | Ingo Schwarze | |
multiple lines of input, in particular, don't use macros below .Nd; such bad style can confuse various apropos(1) tools. All deleted macros reappear later in the text, anyway, except for .Tn, which i'm deleting outright. Found while scanning the tree for good and bad practices in preparation for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm. | |||
2014-12-05 | Rework the number handling to avoid an integer overflow/crash | Jonathan Gray | |
found with the afl fuzzer. This is tedu's simplified version of an earlier patch from me. ok tedu@ | |||
2014-12-02 | Remove dead stores found by llvm checker and mark functions that | Todd C. Miller | |
call done() as __dead to avoid false positives. OK otto@ | |||
2014-12-02 | Fix lowzero running out of bounds in pack_vector(). Problem seen by | Otto Moerbeek | |
Andrey Skvortsov; ok millert@ deraadt@ | |||
2014-11-15 | Reduce instances of `` '' in manuals. | Anthony J. Bentley | |
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | |||
2014-10-09 | use reallocarray(). Leave the malloc/realloc cases in the skeleton | Theo de Raadt | |
untouched because they have their own mult int overflow checks, and placing reallocarray there causes some incredible fireworks in other software. Discussed with millert. | |||
2014-06-04 | TMPDIR is an extension; | Jason McIntyre | |
2014-05-17 | remove unused variable | Charles Longeau | |
ok tedu@ | |||
2014-03-16 | lint is dead (long live the lint!), so stop using it as a cpp conditional | Philip Guenther | |
(namespace pollution!) or talking about its opinion on code. ok krw@ | |||
2014-03-13 | collapse variable declarations | Ted Unangst | |
2014-03-13 | last bits of indentation and style | Ted Unangst | |
2014-03-13 | indentation style | Ted Unangst | |
2014-03-13 | indent, add a touch of style | Ted Unangst | |
2014-03-08 | reindent | Ted Unangst | |
2014-03-08 | reindent | Ted Unangst | |
2014-03-07 | a few other tweaks it's easier to see in the light of day | Ted Unangst | |
2014-03-07 | drag this code into modern style. ok zhuk | Ted Unangst | |
2014-02-21 | drop support for pre-standard C, it's time to move on. ok deraadt | Ted Unangst | |
2014-02-14 | clean up macro usage in the HISTORY section; | Ingo Schwarze | |
triggered by a smaller patch from Jan Stary <hans at stare dot cz> | |||
2014-01-28 | bit more info for the toplas article; | Jason McIntyre | |
From: Jan Stary tweaked a bit by myself | |||
2014-01-20 | Obvious .Xr fixes, found while testing mandocdb(8). | Ingo Schwarze | |
2014-01-13 | Callers of get_state() and sole_reduction() always store the result | Todd C. Miller | |
as a short so make the return value match the type of the value we are returning. From Michael W. Bombardieri | |||
2014-01-10 | Use strtoul() to do octal and hex character conversion instead of | Todd C. Miller | |
custom code. | |||
2014-01-10 | revert previous; height is never changed, but top is changed. | Stuart Henderson | |
ok espie@ who saw intermittent sigbus in ports/math/hc with this. | |||
2014-01-09 | Remove useless variable "height" in function traverse(). It is | Todd C. Miller | |
assigned the value of "top" but never changed so just use top instead. From Michael W. Bombardieri | |||
2014-01-08 | We still need to cast the resulting pointer in NEW and NEW2 as it | Todd C. Miller | |
is used in pointer arithmetic. Otherwise we do arithmetic on void * and corrupt the heap. | |||
2014-01-08 | Add casts to unsigned char for ctype functions and other places | Todd C. Miller | |
where a char is stored in an int. Joint work with and OK deraadt@ | |||
2014-01-08 | Use calloc() instead of malloc() + memset. Based on a diff from | Todd C. Miller | |
Michael W. Bombardieri. OK deraadt@ | |||
2014-01-08 | Make allocate() take size_t and return void *. This lets us drop | Todd C. Miller | |
some more useless casts. Also add missing arguments to a couple of prototypes while here. OK matthew@ pelikan@ | |||
2014-01-08 | Remove CALLOC, MALLOC, FREE and REALLOC macros and just call calloc(), | Todd C. Miller | |
nalloc(), free() and realloc() directly. The macros were casting to the wrong (pre-C89) types and there is no need for them in a C89 world. OK matthew@ | |||
2013-10-30 | Make yystacksize unsigned to avoid a warning about sign comparision | Todd C. Miller | |
mismatches. Also store the result of "yyssp - yyss" in a long, not an int. We could use ptrdiff_t but don't want to rely on that type being defined for portability on old systems without it. OK deraadt@ | |||
2013-08-15 | add the lalr paper; | Jason McIntyre | |
from jan stary | |||
2012-05-30 | Replace a loop with a memset, from Michael W Bombardieri. White here | Nicholas Marriott | |
also remove an unnecessary assignment pointed out by millert@. ok millert | |||
2012-04-15 | * Use NULL instead of 0 for pointers | Charles Longeau | |
* Replace loop with memcpy() in function get_literal() * Style tweak: "for(" -> "for (" From Michael W. Bombardieri ok nicm@ millert@ | |||
2012-04-10 | remove unused variable. | Charles Longeau | |
ok nicm millert | |||
2012-03-03 | Replace some loops with calloc/memset. From Michael W Bombardieri. | Nicholas Marriott | |
ok millert | |||
2011-09-22 | Make use of the filename argument to open_error(), pointed out by | Nicholas Marriott | |
Michael W Bombardieri. ok millert | |||
2011-04-03 | Trim some very long unused debugging functions, from Michael W | Nicholas Marriott | |
Bombardieri. ok millert | |||
2011-04-01 | Add calls to some existing but previously unused free functions. Also | Nicholas Marriott | |
replace a loop with a memset. From Michael W Bombardieri. ok millert | |||
2010-10-18 | remove references to now removed usd/psd/smm docs; | Jason McIntyre | |