summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorUladox <uladoxiental@gmail.com>2016-08-14 22:38:28 -1000
committerUladox <uladoxiental@gmail.com>2016-08-14 22:38:28 -1000
commit04a18e8914a1f1c2d5e43bcaeb2fd44b37b9cfe6 (patch)
treea76d31892a6c7a8f1179eecf5b0d01c34349a1e3 /python
parent8a7253575c58134bb33b2b24f10eec7ce7bd051d (diff)
downloadjack1-04a18e8914a1f1c2d5e43bcaeb2fd44b37b9cfe6.tar.gz
Removes use of gloabl jack_tmpdir.
Uses static local variable like how jack_user_dir does. jack_get_tmpdir() replaces jack_tmpdir for the most part except in jackd -l where it would cause an infinite loop, and instead DEFAULT_TMP_DIR is used, which is what it would happen anyway. Also in jack_user_dir the default value is used if jack_user_dir returns NULL from some error, but an error message is printed with jack_error(), this is the same as the old behavior, but I am not sure this is quite what should happen. Still, the exact same behavior as before is acheived except without the use of the jack_tmpdir global and the memory issues caused by calling jack_get_tmpdir().
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions