|
|
|
|
@ -1,19 +1,21 @@
|
|
|
|
|
Index: src/cmd/go/internal/modfetch/fetch.go
|
|
|
|
|
--- src/cmd/go/internal/modfetch/fetch.go.orig 2019-10-18 00:02:09.000000000 +0200
|
|
|
|
|
+++ src/cmd/go/internal/modfetch/fetch.go 2019-10-19 19:38:05.215862000 +0200
|
|
|
|
|
@@ -124,9 +124,6 @@
|
|
|
|
|
--- src/cmd/go/internal/modfetch/fetch.go.orig 2020-02-25 19:32:50.000000000 +0100
|
|
|
|
|
+++ src/cmd/go/internal/modfetch/fetch.go 2020-02-26 13:44:55.222333000 +0100
|
|
|
|
|
@@ -123,11 +123,6 @@
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- if !cfg.ModCacheRW {
|
|
|
|
|
- // Make dir read-only only *after* renaming it.
|
|
|
|
|
- // os.Rename was observed to fail for read-only directories on macOS.
|
|
|
|
|
- makeDirsReadOnly(dir)
|
|
|
|
|
- }
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: src/crypto/x509/root_unix.go
|
|
|
|
|
--- src/crypto/x509/root_unix.go.orig 2019-10-18 00:02:09.000000000 +0200
|
|
|
|
|
+++ src/crypto/x509/root_unix.go 2019-10-19 19:37:58.515876000 +0200
|
|
|
|
|
--- src/crypto/x509/root_unix.go.orig 2020-02-25 19:32:50.000000000 +0100
|
|
|
|
|
+++ src/crypto/x509/root_unix.go 2020-02-26 13:44:11.717242000 +0100
|
|
|
|
|
@@ -14,12 +14,7 @@
|
|
|
|
|
// Possible directories with certificate files; stop after successfully
|
|
|
|
|
// reading at least one file from a directory.
|
|
|
|
|
|