aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-12-02 22:02:14 -0800
committerRob Pike <r@golang.org>2009-12-02 22:02:14 -0800
commitb0683bd77a0779fd9a87a2a51bd9eb7969606ffe (patch)
tree001feca95c4e2cafe620e288df557b3eb21c9079 /src/pkg/debug
parent1eba218e4448a94d4319e73148d5c478a1e6685f (diff)
downloadgo-b0683bd77a0779fd9a87a2a51bd9eb7969606ffe.tar.xz
move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev https://golang.org/cl/163085
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/proc/proc_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/proc/proc_linux.go b/src/pkg/debug/proc/proc_linux.go
index c17e6855b8..b7192580d7 100644
--- a/src/pkg/debug/proc/proc_linux.go
+++ b/src/pkg/debug/proc/proc_linux.go
@@ -9,7 +9,7 @@ package proc
import (
"container/vector";
"fmt";
- "io";
+ "io/ioutil";
"os";
"runtime";
"strconv";
@@ -1215,7 +1215,7 @@ func (p *process) attachAllThreads() os.Error {
if err != nil {
// There could have been a race, or
// this process could be a zobmie.
- statFile, err2 := io.ReadFile(taskPath + "/" + tidStr + "/stat");
+ statFile, err2 := ioutil.ReadFile(taskPath + "/" + tidStr + "/stat");
if err2 != nil {
switch err2 := err2.(type) {
case *os.PathError: