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

Issue 13410045: code review 13410045: os/exec: change windows LookPath so it works like cmd.exe (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by brainman
Modified:
11 years, 7 months ago
Reviewers:
frichter, bradfitz
CC:
golang-dev, frichter, bradfitz
Visibility:
Public.

Description

os/exec: change windows LookPath so it works like cmd.exe Fixes issue 6224

Patch Set 1 #

Patch Set 2 : diff -r 11b2294dca61 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 11b2294dca61 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r eb0d60fa524a https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 5 : diff -r 677a33edec74 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 677a33edec74 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -4 lines) Patch
M src/pkg/os/exec/lp_windows.go View 1 2 3 1 chunk +11 lines, -4 lines 0 comments Download
A src/pkg/os/exec/lp_windows_test.go View 1 2 3 1 chunk +391 lines, -0 lines 0 comments Download

Messages

Total messages: 11
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 7 months ago (2013-09-05 02:19:27 UTC) #1
frichter
Alex, hasExt() looks broken, for example, it will return true for `.\dir.path\file` Instead, how about: ...
11 years, 7 months ago (2013-09-06 01:28:00 UTC) #2
brainman
On 2013/09/06 01:28:00, frichter wrote: > hasExt() looks broken, ... Good catch. It is. I ...
11 years, 7 months ago (2013-09-06 02:41:30 UTC) #3
brainman
Hello golang-dev@googlegroups.com, hcwfrichter@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2013-09-06 02:41:46 UTC) #4
brainman
On 2013/09/06 02:41:30, brainman wrote: > > I fixed my version. ... I also added ...
11 years, 7 months ago (2013-09-06 02:43:52 UTC) #5
frichter
New version LGTM On Thursday, September 5, 2013 10:43:53 PM UTC-4, brainman wrote: > > ...
11 years, 7 months ago (2013-09-06 17:42:29 UTC) #6
bradfitz
LGTM Test seems a little complicated, but maybe it's necessary. https://codereview.appspot.com/13410045/diff/10001/src/pkg/os/exec/lp_windows_test.go File src/pkg/os/exec/lp_windows_test.go (right): https://codereview.appspot.com/13410045/diff/10001/src/pkg/os/exec/lp_windows_test.go#newcode326 ...
11 years, 7 months ago (2013-09-06 19:16:02 UTC) #7
brainman
https://codereview.appspot.com/13410045/diff/10001/src/pkg/os/exec/lp_windows_test.go File src/pkg/os/exec/lp_windows_test.go (right): https://codereview.appspot.com/13410045/diff/10001/src/pkg/os/exec/lp_windows_test.go#newcode326 src/pkg/os/exec/lp_windows_test.go:326: lookpathExe := buildExe(t, lookpathSrc, tmp, "lookpath") On 2013/09/06 19:16:02, ...
11 years, 7 months ago (2013-09-08 07:45:05 UTC) #8
bradfitz
It's okay as-is. Maybe skip that test in short mode if it's slow. On Sep ...
11 years, 7 months ago (2013-09-08 14:34:41 UTC) #9
brainman
*** Submitted as https://code.google.com/p/go/source/detail?r=381aeb04fa0d *** os/exec: change windows LookPath so it works like cmd.exe Fixes ...
11 years, 7 months ago (2013-09-10 04:50:38 UTC) #10
brainman
11 years, 7 months ago (2013-09-10 04:51:37 UTC) #11
Message was sent while issue was closed.
On 2013/09/08 14:34:41, bradfitz wrote:
> ... Maybe skip that test in short mode if it's slow.
> 

It is bit slow - it takes 3-4 seconds on my system. But I would like it running
as often as possible for now. It is important part of the system - I don't want
new breakage to go unnoticed. We can move it off the -short list later.

Alex
Sign in to reply to this message.

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