14be06d050
* Added common functions for work with backups of main config files. * Fixed permissions of ~/.mc/ini; * Fixed permissions of ~/.mc/filepos * Fixed permissions of ~/.mc/hotlist * Fixed permissions of ~/.mc/Tree * Fixed ownership for ~/.mc/hotlist file * Changed definitions of config files. Now used constants from src/fileloc.h Also, added ability for change mc user home dir. Just type: {{{ make CFLAGS='-DMC_USERCONF_DIR=\".mc2\"' }}} And you will have different config files (very usefull for testing or development). Signed-off-by: Slava Zanko <slavazanko@gmail.com>