Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 470442 Details for
Bug 616074
<sys-libs/libhugetlbfs-2.20 fails to build with sys-devel/gcc-5.4.0-r3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libhugetlbfs-2.18-gcc5.patch
file_616074.txt (text/plain), 1.09 KB, created by
Jaak Ristioja
on 2017-04-20 06:54:17 UTC
(
hide
)
Description:
libhugetlbfs-2.18-gcc5.patch
Filename:
MIME Type:
Creator:
Jaak Ristioja
Created:
2017-04-20 06:54:17 UTC
Size:
1.09 KB
patch
obsolete
>--- libhugetlbfs-2.18/hugeutils.c 2014-04-06 19:11:46.000000000 +0300 >+++ libhugetlbfs-2.18/hugeutils.c 2017-04-20 09:44:26.500022794 +0300 >@@ -301,14 +301,14 @@ > > env = getenv("HUGETLB_RESTRICT_EXE"); > if (env) { >- char *p, *tok, *exe, buf[MAX_EXE+1], restrict[MAX_EXE]; >+ char *p, *tok, *exe, buf[MAX_EXE+1], restrict_[MAX_EXE]; > int found = 0; > > exe = get_exe_name(buf, sizeof buf); > DEBUG("Found HUGETLB_RESTRICT_EXE, this exe is \"%s\"\n", exe); >- strncpy(restrict, env, sizeof restrict); >- restrict[sizeof(restrict)-1] = 0; >- for (p = restrict; (tok = strtok(p, ":")) != NULL; p = NULL) { >+ strncpy(restrict_, env, sizeof restrict_); >+ restrict_[sizeof(restrict_)-1] = 0; >+ for (p = restrict_; (tok = strtok(p, ":")) != NULL; p = NULL) { > DEBUG(" ...check exe match for \"%s\"\n", tok); > if (strcmp(tok, exe) == 0) { > found = 1;
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 616074
: 470442