Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115918 Details for
Bug 174061
emktemp can be without conditional FreeBSD code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
emktemp.patch
emktemp.patch (text/plain), 893 bytes, created by
Fabian Groffen
on 2007-04-10 17:54:44 UTC
(
hide
)
Description:
emktemp.patch
Filename:
MIME Type:
Creator:
Fabian Groffen
Created:
2007-04-10 17:54:44 UTC
Size:
893 bytes
patch
obsolete
>Index: eclass/eutils.eclass >=================================================================== >--- eclass/eutils.eclass (revision 4856) >+++ eclass/eutils.eclass (working copy) >@@ -377,13 +377,16 @@ > echo "${tmp}" > else > if [[ ${exe} == "touch" ]] ; then >- [[ ${USERLAND} == "GNU" ]] \ >- && mktemp -p "${topdir}" \ >- || TMPDIR="${topdir}" mktemp -t tmp >+ # for FreeBSD-mktemp, -t is the prefix >+ # for GNU-mktemp, -t is the template >+ # in eprefix, we might have USERLAND!=GNU, but GNU-mktemp, >+ # and we will end up with empty tempfile names. >+ # >+ # OTOH, having tempfiles called tmp.XXXXXXXXXX.WSqcv4AI >+ # in BSD will not be a problem. >+ TMPDIR="${topdir}" mktemp -t tmp.XXXXXXXXXX > else >- [[ ${USERLAND} == "GNU" ]] \ >- && mktemp -d "${topdir}" \ >- || TMPDIR="${topdir}" mktemp -dt tmp >+ TMPDIR="${topdir}" mktemp -dt tmp.XXXXXXXXXX > fi > fi > }
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 174061
: 115918