Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-08 | Add some references, most of these were removed when we stopped building | Jonathan Gray | |
and installing USD/SMM/PSD docs. jmc@ agrees with the direction, ok millert@ on an earlier diff | |||
2021-02-03 | remove ancient malloc ? realloc dance. always use realloc. | Theo de Raadt | |
ok millert tb | |||
2020-12-19 | rename filenames ending in a period | Daniel Dickman | |
While windows may technically allow filenames to end in a period, the recommendation is to avoid this as the shell does not support such files. As of git 2.25, the behaviour was apparently changed to not allow files with names ending in a period to be checked out on windows. A second problem is upper/lower case conflicts for filenames. To allow the source tree to be checked out on windows we follow FreeBSD and rename a few files: ss.. -> ss_ ssA -> ss10 ssB -> ss11 (FreeBSD svn revision 210167 from 2010) as usual, this issue was extensively researched by jsg@ | |||
2020-09-03 | Switch use of '\0' to NULL | Theo Buehler | |
Fix a clang 10 warning about comparing a pointer to a null character. The condition "if ((s = symnam[i]) == '\0')" used to be "if (s = symnam[i])" and the incorrect spelling of NULL was chosen in a -Wall cleanup 19 years ago (-r 1.6). Upstream uses a naked 0 instead of NULL, so does NetBSD. ok martijn millert | |||
2020-05-24 | annotate I/O errors with the corresponding message | Marc Espie | |
(a full switch to err(3) would involve significant message changes) okay millert@ | |||
2020-05-24 | done() is no longer needed | Marc Espie | |
okay millert@ | |||
2020-05-23 | those tempfiles no longer have names | Marc Espie | |
okay millert@ | |||
2020-05-23 | use rewind on tempfiles, so that we don't need to name them | Marc Espie | |
switch to tmpfile() at the suggestion of millert@, so that the tempname creation code and the signal handlers/cleanup code can go away entirely. Small prototype tweak by Todd as well. okay millert@ | |||
2020-05-22 | extract the identical code that creates temp files into its own function | Marc Espie | |
okay millert@ | |||
2020-05-21 | separate cleanup from exit/signal logic | Marc Espie | |
okay deraadt@ | |||
2020-05-21 | test FILE* against NULL and not 0 | Marc Espie | |
okay deraadt@ | |||
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@ |