/[path-sandbox]/trunk/libsandbox.c
Gentoo

Diff of /trunk/libsandbox.c

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

Revision 100 Revision 101
313 init_wrappers(); 313 init_wrappers();
314 314
315 /* Get the path and name to this library */ 315 /* Get the path and name to this library */
316 snprintf(sandbox_lib, SB_PATH_MAX, "%s", get_sandbox_lib("/")); 316 snprintf(sandbox_lib, SB_PATH_MAX, "%s", get_sandbox_lib("/"));
317 317
318 if (NULL == realpath(getenv(ENV_TMPDIR) ? getenv(ENV_TMPDIR) 318 if (-1 == get_tmp_dir(tmp_dir))
319 : TMPDIR,
320 tmp_dir))
321 snprintf(tmp_dir, SB_PATH_MAX, "%s", TMPDIR); 319 snprintf(tmp_dir, SB_PATH_MAX, "%s", TMPDIR);
322 320
323 /* Generate sandbox pids-file path */ 321 /* Generate sandbox pids-file path */
324 sandbox_pids_file = get_sandbox_pids_file(tmp_dir); 322 sandbox_pids_file = get_sandbox_pids_file(tmp_dir);
325 323

Legend:
Removed from v.100  
changed lines
  Added in v.101

  ViewVC Help
Powered by ViewVC 1.1.20