/[path-sandbox]/trunk/libsbutil/get_sandbox_lib.c
Gentoo

Diff of /trunk/libsbutil/get_sandbox_lib.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 13 Revision 16
68 char path[255]; 68 char path[255];
69 69
70#ifdef SB_HAVE_64BIT_ARCH 70#ifdef SB_HAVE_64BIT_ARCH
71 snprintf(path, sizeof(path), "%s", LIB_NAME); 71 snprintf(path, sizeof(path), "%s", LIB_NAME);
72#else 72#else
73 snprintf(path, sizeof(path), "/lib/%s", LIB_NAME); 73 snprintf(path, sizeof(path), "%s/%s", LIBSANDBOX_PATH,LIB_NAME);
74 if (file_exist(path, 0) <= 0) { 74 if (file_exist(path, 0) <= 0) {
75 snprintf(path, sizeof(path), "%s%s", sb_path, LIB_NAME); 75 snprintf(path, sizeof(path), "%s%s", sb_path, LIB_NAME);
76 } 76 }
77#endif 77#endif
78 return (strdup(path)); 78 return (strdup(path));

Legend:
Removed from v.13  
changed lines
  Added in v.16

  ViewVC Help
Powered by ViewVC 1.1.20