about summary refs log tree commit diff
path: root/log.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-11 21:02:40 -0400
committerJune McEnroe <june@causal.agency>2021-06-11 21:02:40 -0400
commitc6009cf13c0fd2a2f458d2081c4ed59a07ca0ef0 (patch)
treeec71dffd1ab6b55038dc6a5e02ccdbaa49832efe /log.c
parentOpenBSD: Drop now unneeded file system access for save file (diff)
downloadtest-c6009cf13c0fd2a2f458d2081c4ed59a07ca0ef0.tar.gz
test-c6009cf13c0fd2a2f458d2081c4ed59a07ca0ef0.zip
Open save file with "a+"
Avoids another small TOCTOU. Rewind before loading since "a+" sets
the file position at the end. Remove unnecessary fseek after
truncation, since "a+" always writes at the end of the file.
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions
Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe