Hello bradfitz (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
*** Submitted as http://code.google.com/p/go/source/detail?r=17432a753e50 *** syscall: fix windows build TBR=bradfitz CC=golang-dev http://codereview.appspot.com/6303061
LGTM On Fri, Jun 8, 2012 at 11:04 AM, <rsc@golang.org> wrote: > Reviewers: bradfitz, > > Message: > Hello bradfitz (cc: golang-dev@googlegroups.com), > > I'd like you to review this change to > https://go.googlecode.com/hg/ > > > Description: > syscall: fix windows build > > Please review this at http://codereview.appspot.com/**6303061/<http://codereview.appspot.com/6303061/> > > Affected files: > M src/pkg/syscall/syscall_**windows_test.go > > > Index: src/pkg/syscall/syscall_**windows_test.go > ==============================**==============================**======= > --- a/src/pkg/syscall/syscall_**windows_test.go > +++ b/src/pkg/syscall/syscall_**windows_test.go > @@ -27,7 +27,7 @@ > f.Close() > > type X struct { > - fd syscall.Win32finddata1 > + fd syscall.Win32finddata > got byte > pad [10]byte // to protect ourselves > > @@ -35,7 +35,7 @@ > var want byte = 2 // it is unlikely to have this character in the > filename > x := X{got: want} > > - h, err := syscall.FindFirstFile1(**syscall.StringToUTF16Ptr(path)* > *, &(x.fd)) > + h, err := syscall.FindFirstFile(syscall.**StringToUTF16Ptr(path), > &(x.fd)) > if err != nil { > t.Fatalf("FindFirstFile failed: %v", err) > } > > >