Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484956 - java-config: [PATCH] Fixup directory and file installation code in jc_install
Summary: java-config: [PATCH] Fixup directory and file installation code in jc_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-15 01:39 UTC by Mike Gilbert
Modified: 2015-10-16 15:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (0001-Fixup-directory-and-file-installation-code-in-jc_ins.patch,1.47 KB, patch)
2013-09-15 01:39 UTC, Mike Gilbert
Details | Diff
Revision 1 (0001-Fixup-directory-and-file-installation-code-in-jc_ins.patch,1.49 KB, patch)
2013-09-15 01:50 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-09-15 01:39:54 UTC
Created attachment 358672 [details, diff]
Patch

Please review attached patch.

From 64c3b84a4ce27b0354f8be1c773fa1db2c26a08b Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Sat, 14 Sep 2013 20:54:06 -0400
Subject: [PATCH] Fixup directory and file installation code in jc_install

Use mkpath to prevent failure if the path already exists.
Write data to a temp file and call copy_file to install to avoid a race
condition if with concurrent build processes.
---
 setup.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Comment 1 Mike Gilbert gentoo-dev 2013-09-15 01:50:56 UTC
Created attachment 358674 [details, diff]
Revision 1
Comment 3 Patrice Clement gentoo-dev 2015-10-16 15:24:40 UTC
Patch was integrated to java-config sources. I'm reading Revision 1. If you come up with another revision, let us know Mike. 

There's nothing left for us to do here. Closing this bug.