--- libXt-1.1.5/src/Intrinsic.c 2015-05-01 07:36:20.000000000 +0200 +++ Intrinsic.c 2016-12-12 00:42:16.567388450 +0100 @@ -1303,21 +1303,101 @@ } else (void) strcpy(*rest, string); } -/* - * default path used if environment variable XFILESEARCHPATH - * is not defined. Also substitued for %D. - * The exact value should be documented in the implementation - * notes for any Xt implementation. + + +/* + Return the default search path for the function + XtResolvePathname to use if XFILESEARCHPATH is + not defined. + + It returns the combination the set of values which are the 6 "stems" below, + prepended with "/run/current-system/profile", and $GUIX_PROFILE and + "$HOME/.guix-profile" + + These values provide the default paths where Guix/GuixSD can expect + to find resources for installed packages. */ -static const char *implementation_default_path(void) +static const char *guix_default_path(void) { -#if defined(WIN32) - static char xfilesearchpath[] = ""; - - return xfilesearchpath; -#else - return XFILESEARCHPATHDEFAULT; -#endif + static const cha
aboutsummaryrefslogtreecommitdiff |