Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215198 Details for
Bug 274119
sys-fs/archfs fails to build with _FORTIFY_SOURCE=2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tmpdir patch, see upstream issue 23
archfs_tmpdir.patch (text/plain), 692 bytes, created by
Martin Gysel (bearsh)
on 2010-01-04 19:22:16 UTC
(
hide
)
Description:
tmpdir patch, see upstream issue 23
Filename:
MIME Type:
Creator:
Martin Gysel (bearsh)
Created:
2010-01-04 19:22:16 UTC
Size:
692 bytes
patch
obsolete
>commit ff556eb77e9efebef0c1a319064566f637b5c170 >Author: Jon Dowland <jmtd@debian.org> >Date: Sat Oct 24 15:20:28 2009 +0100 > > support TMPDIR variable > >diff --git a/initialize.c b/initialize.c >index 337c550..24ad120 100644 >--- a/initialize.c >+++ b/initialize.c >@@ -95,8 +95,12 @@ void fuse_operations_setup(){ > > void create_tmp_dir(char **tmp_dir, char **tmp_file){ > >+ char *tmpdirprefix = getenv("TMPDIR"); >+ if(!tmpdirprefix) { >+ tmpdirprefix = DEFAULT_TMP_DIR; >+ } > if (*tmp_dir == NULL) >- if (gstrcpy(tmp_dir, DEFAULT_TMP_DIR) == -1) >+ if (gstrcpy(tmp_dir, tmpdirprefix) == -1) > fail(-1); > if (gpthpro(tmp_dir) != 0) > fail(ERR_NO_TMP);
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 274119
:
194663
|
215195
|
215196
| 215198