diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-14 13:37:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-14 13:37:48 +0000 |
commit | 6916d6104ff448f07130597473356334c3d73501 (patch) | |
tree | 284721011965de05fde468a68fead07b9739d32e /gcc/tree-switch-conversion.c | |
parent | 26fda5f59aa242dcf11cf4dd7ef837c635c02673 (diff) | |
download | gcc-6916d6104ff448f07130597473356334c3d73501.zip gcc-6916d6104ff448f07130597473356334c3d73501.tar.gz gcc-6916d6104ff448f07130597473356334c3d73501.tar.bz2 |
compiler: remove "DIR/../" when joining relative import path
Otherwise if DIR does not exist, the path does not work. This matches
what the gc cmd/compile tool does, because it calls path.Join.
The test for this is the cmd/go tests, to be added in a follow-up CL.
Reviewed-on: https://go-review.googlesource.com/45691
From-SVN: r249194
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions