about summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-06-11 12:30:59 +0000
committerJune McEnroe <june@causal.agency>2021-06-11 20:57:40 -0400
commit772c9789b785231e235e08af69da89273027cf70 (patch)
tree57ac8bdda7b686e698d5e6a481368a0add7a3356 /edit.c
parentOpen save file once in uiLoad() and keep it open until uiSave() (diff)
downloadcatgirl-772c9789b785231e235e08af69da89273027cf70.tar.gz
catgirl-772c9789b785231e235e08af69da89273027cf70.zip
OpenBSD: Drop now unneeded file system access for save file
All opening happens before unveil/pledge and the file handle is kept
open read/write so it can be used without any pledge.

Simpler/less code and less chances to write other files (accidentially).
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions