Commit b98523c1 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

[master] Use prefix "sockcreator-" for tmp directory.

Use prefix "sockcreator-" for the private temporary directory
used for b10-sockcreator communication.

Discussed in jabber.

Will document separately (was not documented yet).
parent b6c08e3a
388. [func] jreed
Use prefix "sockcreator-" for the private temporary directory
used for b10-sockcreator communication.
(git -)
387. [build] muks
Accept a --without-werror configure switch so that some builders can
disable the use of -Werror in CFLAGS when building.
......
......@@ -892,7 +892,7 @@ class BoB:
# the need to find the place ourself or bother users. Also, this
# secures the socket on some platforms, as it creates a private
# directory.
self._tmpdir = tempfile.mkdtemp()
self._tmpdir = tempfile.mkdtemp(prefix='sockcreator-')
# Get the name
self._socket_path = os.path.join(self._tmpdir, "sockcreator")
# And bind the socket to the name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment