GithubHelp home page GithubHelp logo

Comments (5)

snikulov avatar snikulov commented on April 28, 2024

I'll check it soon.

from curl.

bagder avatar bagder commented on April 28, 2024

Anything?

from curl.

snikulov avatar snikulov commented on April 28, 2024

I think we should ask @bradking for this.
Personally I see no reason to put quotes around all variables/path usage.
Yes, it can help us to avoid some issues with long path in future, but no specific example/test case come into my mind right now.
Perhaps we should close this issue and solve the issues when they are arrives with exact problem description.

from curl.

bradking avatar bradking commented on April 28, 2024

For reference, the official documentation of the cmake language command arguments is here:

http://www.cmake.org/cmake/help/v3.2/manual/cmake-language.7.html#command-arguments

It explains how quoted arguments are always interpreted as a single value and how unquoted arguments get divided on ; into zero or more arguments.

While the issue raised is technically correct, we commonly leave out quotes when the value is expected to be a filesystem path rather than arbitrary text or a list. Even CMake's own source does this. One of the reasons ; was chosen as the list separator for unquoted argument expansion is that it is not allowed in filesystem paths on Windows and is very obscure elsewhere.

from curl.

bagder avatar bagder commented on April 28, 2024

Thanks for the excellent feedback. Then I suggest we leave it as-is since there have not been any actual problems reported on this, nor do we really expect any.

from curl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.