This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r249194 - in /trunk/gcc/go/gofrontend: MERGE im...


Author: ian
Date: Wed Jun 14 13:37:48 2017
New Revision: 249194

URL: https://gcc.gnu.org/viewcvs?rev=249194&root=gcc&view=rev
Log:
    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

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/import.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]