Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 861600 Details for
Bug 906234
sys-apps/sandbox-2.30-r1: src/environ.c:211:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘work_dir’ will never be NULL
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove_always_true_if.patch
XkjfsU (text/plain), 614 bytes, created by
nvinson234
on 2023-05-13 01:45:10 UTC
(
hide
)
Description:
remove_always_true_if.patch
Filename:
MIME Type:
Creator:
nvinson234
Created:
2023-05-13 01:45:10 UTC
Size:
614 bytes
patch
obsolete
>--- a/src/environ.c 2023-05-11 21:39:38.160809991 -0400 >+++ b/src/environ.c 2023-05-11 21:41:06.820668909 -0400 >@@ -205,12 +205,11 @@ static int setup_cfg_vars(struct sandbox > if (NULL == getenv(ENV_SANDBOX_READ)) > setenv(ENV_SANDBOX_READ, "/", 1); > > if (-1 == setup_access_var(ENV_SANDBOX_WRITE)) > return -1; >- if ((NULL == getenv(ENV_SANDBOX_WRITE)) && >- (NULL != sandbox_info->work_dir)) >+ if (NULL == getenv(ENV_SANDBOX_WRITE)) > setenv(ENV_SANDBOX_WRITE, sandbox_info->work_dir, 1); > > if (-1 == setup_access_var(ENV_SANDBOX_PREDICT)) > return -1; > if ((NULL == getenv(ENV_SANDBOX_PREDICT)) &&
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 906234
: 861600