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

Diff of /trunk/libsandbox.c

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

Revision 121 Revision 122
1266 1266
1267 init_wrappers(); 1267 init_wrappers();
1268 1268
1269 absolute_path = filter_path(file, 0); 1269 absolute_path = filter_path(file, 0);
1270 if (NULL == absolute_path) 1270 if (NULL == absolute_path)
1271 goto error; 1271 goto fp_error;
1272 resolved_path = filter_path(file, 1); 1272 resolved_path = filter_path(file, 1);
1273 if (NULL == resolved_path) 1273 if (NULL == resolved_path)
1274 goto error; 1274 goto fp_error;
1275 1275
1276 log_path = getenv("SANDBOX_LOG"); 1276 log_path = getenv("SANDBOX_LOG");
1277 debug_log_env = getenv("SANDBOX_DEBUG"); 1277 debug_log_env = getenv("SANDBOX_DEBUG");
1278 debug_log_path = getenv("SANDBOX_DEBUG_LOG"); 1278 debug_log_path = getenv("SANDBOX_DEBUG_LOG");
1279 1279
1354 1354
1355 errno = old_errno; 1355 errno = old_errno;
1356 1356
1357 return result; 1357 return result;
1358 1358
1359error: 1359fp_error:
1360 if (NULL != absolute_path) 1360 if (NULL != absolute_path)
1361 free(absolute_path); 1361 free(absolute_path);
1362 if (NULL != resolved_path) 1362 if (NULL != resolved_path)
1363 free(resolved_path); 1363 free(resolved_path);
1364 1364

Legend:
Removed from v.121  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.20