aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2025-10-28 21:54:33 -0400
committerRuss Cox <rsc@golang.org>2025-10-29 11:00:09 -0700
commit49c1da474d68045458b9462b743e3f0f7dcefdfb (patch)
treeb44ac2cf3b548dd2e4bc3ab067614408ad0694eb /src/syscall/syscall_linux.go
parentb2a346bbd1e1e9cb069001cf86ef39b0dd5722f8 (diff)
downloadgo-49c1da474d68045458b9462b743e3f0f7dcefdfb.tar.xz
internal/itoa, internal/runtime/strconv: delete
Replaced by internal/strconv. Change-Id: I0656a9ad5075e60339e963fbae7d194d2f3e16be Reviewed-on: https://go-review.googlesource.com/c/go/+/716001 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/syscall/syscall_linux.go')
-rw-r--r--src/syscall/syscall_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/syscall_linux.go b/src/syscall/syscall_linux.go
index ec9f771daa..9418bd8494 100644
--- a/src/syscall/syscall_linux.go
+++ b/src/syscall/syscall_linux.go
@@ -12,8 +12,8 @@
package syscall
import (
- "internal/itoa"
"internal/runtime/syscall/linux"
+ "internal/strconv"
"runtime"
"slices"
"unsafe"
@@ -361,7 +361,7 @@ func Futimesat(dirfd int, path string, tv []Timeval) (err error) {
func Futimes(fd int, tv []Timeval) (err error) {
// Believe it or not, this is the best we can do on Linux
// (and is what glibc does).
- return Utimes("/proc/self/fd/"+itoa.Itoa(fd), tv)
+ return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv)
}
const ImplementsGetwd = true