https://bugs.freedesktop.org/show_bug.cgi?id=56284

Michael Meeks <michael.me...@novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |EasyHack,DifficultyBeginner
                   |                            |,SkillCpp,TopicCleanup
                 CC|michael.me...@novell.com    |pmla...@suse.cz

--- Comment #8 from Michael Meeks <michael.me...@novell.com> ---
To find the earliest use of ~/.config I guess we should put a breakpoint in
__cxa_throw and run without the directory existing :-)

I -imagine- this is from desktop/source/app or desktop/source/deployment - but
of course it could easily be in configmgr.cxx.

It'd be good to have a stack-trace for that.

It seems like: sal/osl/unx/security.c is prolly a good place to look at first:

#define DOT_CONFIG "/.config"

static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char*
pszDirectory, sal_uInt32 nMax)
{
    sal_Char *pStr = getenv("XDG_CONFIG_HOME");

    if (pStr == NULL || strlen(pStr) == 0 || access(pStr, 0) != 0)


Patches most welcome (turned it into an easy-hack) - thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to