summary refs log tree commit diff
path: root/www/photo.causal.agency/2024-10-12/body
diff options
context:
space:
mode:
Diffstat (limited to 'www/photo.causal.agency/2024-10-12/body')
0 files changed, 0 insertions, 0 deletions
ening the same file *path* twice is a TOCTOU, although not a critical one: worst case we load from one file and save to another - the impact depends on how and when catgirl is started the next anyway. More importantly, keeping the file handle open at runtime allows us to drop all filesystem related promises for `-s/save' on OpenBSD. uiLoad() now opens "r+", meaning "Open for reading and writing." up front so uiSave() can write to it. In the case of a nonexistent save file, it now opens with "w" meaning "Open for writing. The file is created if it does not exist.", i.e. the same write/create semantics as "w" except uiLoad() no longer truncates. existing files. uiSave() now truncates the save file to avoid appending in general. 2021-06-11Rename file to saveFileKlemens Nanni Separate churn from actual change in upcoming diff, no functional change. 2021-06-11OpenBSD: Hoist loading save file to drop filesystem read-accessKlemens Nanni After TLS cert/key files, the save file is the only file being read from; do so before pleding and drop the "rpath" promise all together: log files will only be created and written to. 2021-06-11Match gemini URLsJune McEnroe 2021-06-10Avoid trailing comma in whois channels listsJune McEnroe The format of the reply is defined as "<nick> :{[@|+]<channel><space>}". 2021-06-10Move unveilAll back into main