summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-06-12 23:38:37 +0000
committerJune McEnroe <june@causal.agency>2021-06-13 14:02:59 -0400
commit788eb772c8aa599a4e22ca594beafba4046160e4 (patch)
tree14326bd13e8097d8a658ec47a627bfd5d6b423d0
parentReset formatting after realname in setname (diff)
downloadcatgirl-788eb772c8aa599a4e22ca594beafba4046160e4.tar.gz
catgirl-788eb772c8aa599a4e22ca594beafba4046160e4.zip
OpenBSD: no need to read data files (logs)
One of the last changes missed this, but it is a NOOP anyway since
"rpath" is not pledged any longer.
-rw-r--r--chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index d92240d..3f6aa71 100644
--- a/chat.c
+++ b/chat.c
@@ -130,7 +130,7 @@ static void parseHash(char *str) {
 static void unveilData(const char *name) {
 	const char *dirs = NULL;
 	for (const char *path; NULL != (path = dataPath(&dirs, name));) {
-		int error = unveil(path, "rwc");
+		int error = unveil(path, "wc");
 		if (error && errno != ENOENT) err(EX_CANTCREAT, "%s", path);
 	}
 }
ss='logmsg'> 2022-03-31Publish "Compassion"June McEnroe 2022-03-24Skip matches with ident chars on either sideJune McEnroe This fixes, for example, where the link gets placed on static regex_t regex(const char *pattern, int flags) in title.c. 2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe So good, but so long. Reminded me of The Ten Thousand Doors of January at the beginning, and more of that N. K. Jemisin series about gods later. I like this interacting with gods and becoming something like one sort of thing. God, it took me a whole month (more?) to read and this is only my third book of the year :( I need some more novellas to read, but the other books I have from the library currently are also thick. 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to <https://git.causal.agency/jorts/tree/wcwidth> and compiled into <https://git.causal.agency/jorts/tree/ncurses>. 2022-03-16Remove -j4 from ./PlanJune McEnroe Plan learned to set this automatically! 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe