Subversion Repositories Kolibri OS

Rev

Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4358 Rev 5080
Line 32... Line 32...
32
#include "pipe-loader/pipe_loader.h"
32
#include "pipe-loader/pipe_loader.h"
Line 33... Line 33...
33
 
33
 
34
static const char *
34
static const char *
35
get_library_search_path(void)
35
get_library_search_path(void)
36
{
36
{
Line 37... Line -...
37
   const char *search_path = NULL;
-
 
38
 
-
 
39
   /* don't allow setuid apps to use GBM_BACKENDS_PATH */
37
   const char *search_path;
40
   if (geteuid() == getuid())
-
 
41
      search_path = getenv("GBM_BACKENDS_PATH");
-
 
Line 42... Line 38...
42
   if (search_path == NULL)
38
 
43
      search_path = PIPE_SEARCH_DIR;
39
   search_path = "/kolibrios/drivers/gallium-pipe/";
Line 44... Line 40...
44
 
40