windows: internal multiparts should use platform specific tempfile location

This commit is contained in:
Harshavardhana
2015-11-30 13:02:53 -08:00
parent c573ccf641
commit dbdcdff874
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ type tempFile struct {
// newTemplFile returns a new unused file.
func newTempFile(prefix string) (*tempFile, error) {
file, err := ioutil.TempFile("/tmp", prefix)
file, err := ioutil.TempFile(os.TempDir(), prefix)
if err != nil {
return nil, err
}
+2 -2
View File
@@ -29,8 +29,8 @@
},
{
"path": "github.com/minio/minio-go",
"revision": "aa6adeaec180d4166112fec7ed16f3c7e189bd32",
"revisionTime": "2015-11-30T12:16:55-08:00"
"revision": "dad6d61c30b7b4eb0eaf665e1b749f5fad773f74",
"revisionTime": "2015-11-30T12:59:15-08:00"
},
{
"path": "github.com/minio/minio-xl/pkg/atomic",