ncmixer

ncurses audio mixer with cross-fade support
git clone git://git.2f30.org/ncmixer.git
Log | Files | Refs | README | LICENSE

commit 26775faa67ed1de5fe9e5cfa9070280d27fc9c6d
parent 2deb6d14d8d3ae89e0c8acb4f51009b9cd99fe7c
Author: sin <sin@2f30.org>
Date:   Thu Jun  2 14:04:28 +0100

Use umask(0) to make sockets writable by everyone

We can revisit this in the future but for now it is handy.

Diffstat:
ncmixer.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c @@ -189,6 +189,7 @@ server_listen(char *name) sun.sun_family = AF_UNIX; strlcpy(sun.sun_path, name, sizeof(sun.sun_path)); len = sizeof(sun); + umask(0); if (bind(fd, (SA *)&sun, len) == -1) err(1, "bind"); if (listen(fd, 5) == -1)