Skip to content
Snippets Groups Projects
Commit bae4f508 authored by Sergio Luis O. B. Correia's avatar Sergio Luis O. B. Correia Committed by Russ Cox
Browse files

cmd/cc: Fix -I switch to handle a path with blankspaces correctly

Currently, -I switch can't deal with a path containing spaces.
This commit simplify setinclude(), by removing the special case
of a string that had spaces. After this change, setinclude() will
merely add the given directories to the include path, if it does
not yet exist, and this approach works.

Will be needed for solving issue 115.

R=agl1, rsc, iant2, r
https://golang.org/cl/155059
parent 27c31476
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment