summaryrefslogtreecommitdiff
path: root/po/id.po
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2018-01-26 15:13:37 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2018-01-26 15:13:37 +0100
commit195db821973ccb9568e5426d60a0d2b19525d662 (patch)
tree3d56279eba8f8f6caeaed42a2b459fa313af404f /po/id.po
parent83fe101576ec96294c0d32ff0a4920b43ff83cf8 (diff)
sync: avoid setenv()setenv
set/getenv() are not thread-safe, and a recent bug report via private email shows that this does cause segfaults: Thread 4 (Thread 19251): .... Thread 1 (Thread 19311): ... In this case, DLT was used and the setenv call was setting the LIBSYNTHESIS_<context> variables. The solution is to avoid setenv() in code which might run in parallel to other threads: - DLT-related variables are set at the beginning of syncevo-dbus-server startup which then gets inherited by syncevo-dbus-helper and in the environment prepared for syncevo-local-sync (because the latter might run with a different log level) - the default for SYNCEVOLUTION_PBAP_SYNC is now "incremental" everywhere and SyncContext is told about the special mode where it needs to keep photo data differently, i.e. setting SYNCEVOLUTION_PBAP_SYNC in dbus-sync.cpp for PBAP syncing is no longer necessary Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Diffstat (limited to 'po/id.po')
0 files changed, 0 insertions, 0 deletions