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

Diff of /trunk/src/sandbox.c

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

Revision 193 Revision 194
46{ 46{
47 if (NULL != getenv(ENV_PORTAGE_TMPDIR)) { 47 if (NULL != getenv(ENV_PORTAGE_TMPDIR)) {
48 /* Portage handle setting SANDBOX_WRITE itself. */ 48 /* Portage handle setting SANDBOX_WRITE itself. */
49 sandbox_info->work_dir[0] = '\0'; 49 sandbox_info->work_dir[0] = '\0';
50 } else { 50 } else {
51 if (NULL == getcwd(sandbox_info->work_dir, SB_PATH_MAX)) { 51 if (NULL == egetcwd(sandbox_info->work_dir, SB_PATH_MAX)) {
52 perror("sandbox: Failed to get current directory"); 52 perror("sandbox: Failed to get current directory");
53 return -1; 53 return -1;
54 } 54 }
55 } 55 }
56 56

Legend:
Removed from v.193  
changed lines
  Added in v.194

  ViewVC Help
Powered by ViewVC 1.1.20