diff options
author | Klemens Nanni <klemens@posteo.de> | 2021-06-11 12:30:59 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-11 20:57:40 -0400 |
commit | 772c9789b785231e235e08af69da89273027cf70 (patch) | |
tree | 57ac8bdda7b686e698d5e6a481368a0add7a3356 /irc.c | |
parent | Open save file once in uiLoad() and keep it open until uiSave() (diff) | |
download | catgirl-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 'irc.c')
0 files changed, 0 insertions, 0 deletions