/[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 143 Revision 145
38#ifdef OUTSIDE_LIBSANDBOX 38#ifdef OUTSIDE_LIBSANDBOX
39 39
40SB_STATIC void get_sandbox_rc(char *path) 40SB_STATIC void get_sandbox_rc(char *path)
41{ 41{
42 snprintf(path, SB_PATH_MAX, "%s/%s", SANDBOX_BASHRC_PATH, BASHRC_NAME); 42 snprintf(path, SB_PATH_MAX, "%s/%s", SANDBOX_BASHRC_PATH, BASHRC_NAME);
43 if (0 >= exists(path)) {
44 perror(">>> cannot open bashrc");
45 exit(EXIT_FAILURE);
46 }
47} 43}
48 44
49SB_STATIC void get_sandbox_log(char *path) 45SB_STATIC void get_sandbox_log(char *path)
50{ 46{
51 char *sandbox_log_env = NULL; 47 char *sandbox_log_env = NULL;

Legend:
Removed from v.143  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.20