* Re: [PATCH v2] compat-wireless: build: Throw error if space in path
[not found] ` <1326786261.3342.0.camel@jlt3.sipsolutions.net>
@ 2012-01-18 15:18 ` Dominique Martinet
0 siblings, 0 replies; only message in thread
From: Dominique Martinet @ 2012-01-18 15:18 UTC (permalink / raw)
To: Johannes Berg
Cc: Luis R. Rodriguez, linux-wireless, linux-bluetooth, linux-kbuild
Hi,
(I added linux-kbuild@ in Cc because it also concerns them. The idea is
to fail cleanly if there is a space in the path to the directory from
which we want to build some modules. We can't detect some from kbuild
itself given how params are given, so it started as a patch for the
modules' Makefile instead)
Johannes Berg wrote on Tue, Jan 17, 2012 :
> I think it also fails if there's a colon in the path -- does anyone know
> what the "forbidden" characters would be?
I can confirm that it fails with a colon in path, although it's not
documented anywhere in Documentation/kbuild/.. (I guess I've just
volunteered to fix that, too :))
I didn't find a proper list, but what I've seen fail is:
- space " "
- colon ":"
- semicolon ";"
- antislash "\"
- dollar "$"
- sharp "#" (although it fails later than the others)
- ampersand "&"
- parenthesis "(" and ")" - these fail somewhere else as well (even
after fixing compat-wireless' Makefile with minor quoting)
- backtick "`"
- double quotes """
- single quotes "'"
what does work that's not necessarily obvious:
- comma, brakets [], brakets {}
... There might be many more I didn't come up with, but that does look
like a fair start!
Does anyone know of a more complete list?
Regards,
--
Dominique Martinet | Asmadeus
^ permalink raw reply [flat|nested] only message in thread