summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/posixfile.cpp
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-06-08 18:25:39 -0500
committer R. Belmont <rb6502@users.noreply.github.com>2018-06-08 19:25:39 -0400
commita99407afb50a9c08f2c6ea7857452da8ad0cb484 (patch)
treecfe085e2e2f08001656a141d564c0bbb67023e7b /src/osd/modules/file/posixfile.cpp
parenteee8d0d2d999d564162e803a57536855120ec51d (diff)
Discord plugin try 2 (#3640)
* plugins/discord: discord presence plugin [Carl] * plugins/discord: use domain sockets and pipes [Carl] * winptty: fix connecting to existing socket (nw) plugins/discord: show pause state (nw) * plugins/discord: fix pause behavior (nw)
Diffstat (limited to 'src/osd/modules/file/posixfile.cpp')
-rw-r--r--src/osd/modules/file/posixfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/modules/file/posixfile.cpp b/src/osd/modules/file/posixfile.cpp
index 967202eb61c..832b6810db4 100644
--- a/src/osd/modules/file/posixfile.cpp
+++ b/src/osd/modules/file/posixfile.cpp
@@ -217,6 +217,8 @@ osd_file::error osd_file::open(std::string const &path, std::uint32_t openflags,
return posix_open_socket(path, openflags, file, filesize);
else if (posix_check_ptty_path(path))
return posix_open_ptty(openflags, file, filesize, dst);
+ else if (posix_check_domain_path(path))
+ return posix_open_domain(path, openflags, file, filesize);
// select the file open modes
int access;