]> git.tuebingen.mpg.de Git - dss.git/commit
Resolve config file path only once.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 27 Apr 2024 21:45:59 +0000 (23:45 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 23 May 2024 14:52:28 +0000 (16:52 +0200)
commit73c6357dd381ec9b30d0db7aa1a0bc97ad942ea3
treef92dde2a8f8c9f905915ab1ebfe77534b1d75c19
parent0f2a148c598eba6effb6b89c9b29cd18392d5b9b
Resolve config file path only once.

Currently we call get_config_file_name() before each call call to a
public function of ipc.c because those functions compute the IPC key
from the filename. This is unnecessary and caused several bugs. Clean
up this mess by computing the filename only once and store it in a
global variable.
dss.c
ipc.c