7 | | 1) `mc_config_get_home_dir()` function name implies that it's return actually depends on on mc config, which is not true (and I agree, in master it is mostly used in the code as user home, except for configs) and causes confusion. I does make some sense to have a function for that, instead of just using `getenv(HOME)` just in case the env value gets messed up, but maybe it's sensible to change the name to something like `mc_get_user_home_dir()` -- or whichever you see fit? What do you think? |
| 7 | 1) `mc_config_get_home_dir()` function name implies that it's return actually depends on on mc config, which is not true (and I agree, in master it is mostly used in the code as user home, except for configs) and causes confusion. I does make some sense to have a function for that, instead of just using `getenv(HOME)` just in case the env value gets messed up, but maybe it's sensible to change the name to something like `mc_config_get_user_home_dir()` -- or whichever you see fit? What do you think? |