]> Cypherpunks repositories - gostls13.git/commit
os: fix LinkError creation on windows.
authorHyang-Ah (Hana) Kim <hyangah@gmail.com>
Fri, 27 Feb 2015 17:34:25 +0000 (12:34 -0500)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 27 Feb 2015 23:31:36 +0000 (23:31 +0000)
commitc2025c4131a62bc034c663d2e8c22e37b09fce04
treec0ef461fe1c4d5e24ec2c5a8ba7a6ed60393c4bf
parent2b417dc3e1814c1c251d2141dfb6438cf612b847
os: fix LinkError creation on windows.

Not only carrying invalid info but also this caused Error to crash with
null pointer exception.

Change-Id: Ibfe63d20eb9b9178ea618e59c74111e9245a6779
Reviewed-on: https://go-review.googlesource.com/6270
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/file_windows.go
src/os/os_test.go