From: ratchov Date: Sat, 28 Jul 2018 09:07:48 +0000 (+0000) Subject: Rename the sndiod unix domain socket to /tmp/sndio/sockN to avoid X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f259df27144b495dc5452384b263b2890a9cf8aa;p=openbsd Rename the sndiod unix domain socket to /tmp/sndio/sockN to avoid wondering what are these "aucat" files in /tmp. "make sense" deraadt --- diff --git a/lib/libsndio/amsg.h b/lib/libsndio/amsg.h index a9f5e125726..760f7ec7ad8 100644 --- a/lib/libsndio/amsg.h +++ b/lib/libsndio/amsg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amsg.h,v 1.10 2016/01/09 08:27:24 ratchov Exp $ */ +/* $OpenBSD: amsg.h,v 1.11 2018/07/28 09:07:48 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -24,11 +24,11 @@ * * DIR [ '-' UID ] '/' FILE UNIT * - * example: "/tmp/aucat-1000/aucat0" + * example: "/tmp/sndio-1000/sock0" * */ -#define SOCKPATH_DIR "/tmp/aucat" -#define SOCKPATH_FILE "aucat" +#define SOCKPATH_DIR "/tmp/sndio" +#define SOCKPATH_FILE "sock" #define SOCKPATH_MAX (1 + \ sizeof(SOCKPATH_DIR) - 1 + \ sizeof(char) + \