mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
502e84510555e313809de4fc120c15a3267dd482
sdcv uses g_get_home_dir function to find home directory. That function uses passwd entry and this in turn breaks expectations of users and automatic tests inside sandbox where access behind some directory is not allowed (and thus tests are not allowed to write into /root/.stardict/dic...) The patch in attachment fixes this basically by using code from gnome manual: http://library.gnome.org/devel/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-home-dir const char *homedir = g_getenv ("HOME"); if (!homedir) homedir = g_get_home_dir ();
See sdcv man page for usage description. See INSTALL file for installation description.
Description
Languages
C++
78.1%
CMake
16.8%
Shell
5.1%