diff options
author | 2004-01-24 19:03:19 +0000 | |
---|---|---|
committer | 2004-01-24 19:03:19 +0000 | |
commit | 53b2bef59bbed70b675867a864b87b511fd6a216 (patch) | |
tree | b7269f69ea649d951ab42852f2b7d3aa68f9b9b2 /src | |
parent | Improved timestamp check when 'emerge sync'. Added catching amiguous error wh... (diff) | |
download | portage-cvs-53b2bef59bbed70b675867a864b87b511fd6a216.tar.gz portage-cvs-53b2bef59bbed70b675867a864b87b511fd6a216.tar.bz2 portage-cvs-53b2bef59bbed70b675867a864b87b511fd6a216.zip |
portage-2.0.50_pre20portage_2_0_50_pre20
Diffstat (limited to 'src')
-rw-r--r-- | src/sandbox-1.1/sandbox_futils.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sandbox-1.1/sandbox_futils.c b/src/sandbox-1.1/sandbox_futils.c index cd33448..e5c1758 100644 --- a/src/sandbox-1.1/sandbox_futils.c +++ b/src/sandbox-1.1/sandbox_futils.c @@ -3,7 +3,7 @@ * Distributed under the terms of the GNU General Public License, v2 or later * Author: Brad House <brad@mainstreetsoftworks.com> * - * $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/src/sandbox-1.1/Attic/sandbox_futils.c,v 1.5 2003/09/28 08:37:19 azarah Exp $ + * $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/src/sandbox-1.1/Attic/sandbox_futils.c,v 1.6 2004/01/24 19:03:19 carpaski Exp $ * */ @@ -95,11 +95,19 @@ get_sandbox_log() sprintf(pid_string, "%d", getpid()); strcpy(path, LOG_FILE_PREFIX); + + + /* THIS CHUNK BREAK THINGS BY DOING THIS: + * SANDBOX_LOG=/tmp/sandbox-app-admin/superadduser-1.0.7-11063.log + */ + sandbox_log_env = getenv(ENV_SANDBOX_LOG); if (sandbox_log_env) { strcat(path, sandbox_log_env); strcat(path, "-"); } + + strcat(path, pid_string); strcat(path, LOG_FILE_EXT); return (strdup(path)); |