Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 80be0eb

Browse files
committedNov 1, 2024
chore: sync with go1.22.8
1 parent 5eccf9d commit 80be0eb

File tree

10 files changed

+10
-6
lines changed

10 files changed

+10
-6
lines changed
 

‎internal/cache/cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ func (c *DiskCache) putIndexEntry(id ActionID, out OutputID, size int64, allowVe
502502
return nil
503503
}
504504

505-
// noVerifyReadSeeker is a io.ReadSeeker wrapper sentinel type
505+
// noVerifyReadSeeker is an io.ReadSeeker wrapper sentinel type
506506
// that says that Cache.Put should skip the verify check
507507
// (from GODEBUG=goverifycache=1).
508508
type noVerifyReadSeeker struct {

‎internal/cache/prog.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (c *ProgCache) readLoop(readLoopDone chan<- struct{}) {
230230
if c.closing.Load() {
231231
return // quietly
232232
}
233-
if errors.Is(err, io.EOF) {
233+
if err == io.EOF {
234234
c.mu.Lock()
235235
inFlight := len(c.inFlight)
236236
c.mu.Unlock()

‎internal/cache/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Extracted from `go/src/cmd/go/internal/cache/`.
44

5+
- sync with go1.22.8
56
- sync with go1.21.13
67
- sync with go1.20.14
78
- sync with go1.19.13

‎internal/mmap/mmap.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2011 The Go Authors. All rights reserved.
1+
// Copyright 2011 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

‎internal/mmap/mmap_other.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Go Authors. All rights reserved.
1+
// Copyright 2022 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

‎internal/mmap/mmap_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2011 The Go Authors. All rights reserved.
1+
// Copyright 2011 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

‎internal/mmap/mmap_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2011 The Go Authors. All rights reserved.
1+
// Copyright 2011 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

‎internal/mmap/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Extracted from `go/src/cmd/go/internal/mmap/` (related to `cache`).
44

5+
- sync with go1.22.8
56
- sync with go1.21.13
67
- sync with go1.20.14
78
- sync with go1.19.13

‎internal/quoted/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
Extracted from `go/src/cmd/internal/quoted/` (related to `cache`).
44

5+
- sync go1.22.8
56
- sync go1.21.13

‎internal/testenv/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Extracted from `go/src/internal/testenv/`.
44

55
Only the function `SyscallIsNotSupported` is extracted (related to `cache`).
66

7+
- sync with go1.22.8
78
- sync with go1.21.13

0 commit comments

Comments
 (0)
Please sign in to comment.