Skip to content

Pass short path names to configure scripts on Windows. - #3300

Merged
23Skidoo merged 2 commits into
haskell:masterfrom
23Skidoo:issue-3185
Apr 8, 2016
Merged

23Skidoo merged 2 commits into
haskell:masterfrom
23Skidoo:issue-3185

Conversation

@23Skidoo

@23Skidoo 23Skidoo commented Apr 8, 2016

Copy link
Copy Markdown
Member

Fixes #3185.

@ezyang

ezyang commented Apr 8, 2016

Copy link
Copy Markdown
Contributor

Given the use of preprocessor here, I feel like it would be a bit better if getShortPathName was put into a Compat module of its own?

@23Skidoo

23Skidoo commented Apr 8, 2016

Copy link
Copy Markdown
Member Author

Done.

@dcoutts

dcoutts commented Apr 8, 2016

Copy link
Copy Markdown
Contributor

LGTM.

I initially wondered if we shouldn't be quoting or something to handle spaces but given that the problem is (I assume) not that we incorrectly pass args with spaces to the external prog, but that autoconf being autoconf it mangles things even if we pass it correctly. So yes, fine.

@23Skidoo

23Skidoo commented Apr 8, 2016

Copy link
Copy Markdown
Member Author

given that the problem is (I assume) not that we incorrectly pass args with spaces to the external prog, but that autoconf being autoconf

Yes, see #1634. Additional quoting doesn't help here, the path is already passed correctly.

@23Skidoo
23Skidoo merged commit 7ddeb76 into haskell:master Apr 8, 2016
@23Skidoo
23Skidoo deleted the issue-3185 branch April 8, 2016 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants