posix: Support UNC paths on windows. (#1887)

This allows us to now use 32K paths names on windows.

Fixes #1620
This commit is contained in:
Harshavardhana
2016-06-13 15:23:09 +05:30
committed by Anand Babu (AB) Periasamy
parent 4ab57f7d60
commit ed4fe689b4
13 changed files with 379 additions and 83 deletions
+1 -2
View File
@@ -21,7 +21,6 @@ import (
"crypto/md5"
"encoding/hex"
"io/ioutil"
"os"
"strconv"
"testing"
)
@@ -116,7 +115,7 @@ func BenchmarkGetObjectFS(b *testing.B) {
if err != nil {
b.Fatal(err)
}
defer os.RemoveAll(directory)
defer removeAll(directory)
// Create the obj.
obj, err := newFSObjects(directory)