Commits

Miki Tebeka committed 52f075d

No need to bufio

Comments (0)

Files changed (1)

 package main
 
 import (
-	"bufio"
     "bytes"
 	"container/vector"
 	"exec"
 		log.Fatalf("error: can't run ps - %v\n", err)
 	}
 
-	reader := bufio.NewReader(bytes.NewBuffer(out))
+	reader := bytes.NewBuffer(out)
 	ps := make(map[int]*vector.IntVector)
 	// Skip Header
 	_, err = reader.ReadBytes('\n')