diff options
| author | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
| commit | 3bb0032cd6187ca1f42b68599b94036cb6b7e054 (patch) | |
| tree | 3293f2b050aa0a83e6b3deb4240f4eab5ef571fd /src/pkg/os/exec.go | |
| parent | baba292998286e5d9011705a9b4173a2ec99c5e0 (diff) | |
| download | go-3bb0032cd6187ca1f42b68599b94036cb6b7e054.tar.xz | |
- replaced gofmt expression formatting algorithm with
rsc's algorithm
- applied gofmt -w misc src
- partial CL (last chunk)
R=rsc, r
http://go/go-review/1024041
Diffstat (limited to 'src/pkg/os/exec.go')
| -rw-r--r-- | src/pkg/os/exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/exec.go b/src/pkg/os/exec.go index 80c2913f07..3797d80db8 100644 --- a/src/pkg/os/exec.go +++ b/src/pkg/os/exec.go @@ -67,7 +67,7 @@ const ( WNOHANG = syscall.WNOHANG; // Don't wait if no process has exited. WSTOPPED = syscall.WSTOPPED; // If set, status of stopped subprocesses is also reported. WUNTRACED = WSTOPPED; - WRUSAGE = 1<<20; // Record resource usage. + WRUSAGE = 1 << 20; // Record resource usage. ) // WRUSAGE must not be too high a bit, to avoid clashing with Linux's @@ -111,7 +111,7 @@ func itod(i int) string { bp := len(b); for ; u > 0; u /= 10 { bp--; - b[bp] = byte(u%10)+'0'; + b[bp] = byte(u%10) + '0'; } if i < 0 { |
