Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(59)

Delta Between Two Patch Sets: src/pkg/os/exec/lp_windows.go

Issue 5533057: code review 5533057: pkg: add missing godoc comments to windows versions (Closed)
Left Patch Set: diff -r d99e4c71ffc8 https://go.googlecode.com/hg/ Created 13 years, 2 months ago
Right Patch Set: diff -r eea28ac6be16 https://go.googlecode.com/hg/ Created 13 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/os/doc.go ('k') | src/pkg/os/exec_plan9.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package exec 5 package exec
6 6
7 import ( 7 import (
8 "errors" 8 "errors"
9 "os" 9 "os"
10 "strings" 10 "strings"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 if pathenv := os.Getenv(`PATH`); pathenv != `` { 74 if pathenv := os.Getenv(`PATH`); pathenv != `` {
75 for _, dir := range strings.Split(pathenv, `;`) { 75 for _, dir := range strings.Split(pathenv, `;`) {
76 if f, err = findExecutable(dir+`\`+file, exts); err == n il { 76 if f, err = findExecutable(dir+`\`+file, exts); err == n il {
77 return 77 return
78 } 78 }
79 } 79 }
80 } 80 }
81 return ``, &Error{file, ErrNotFound} 81 return ``, &Error{file, ErrNotFound}
82 } 82 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b