aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2025-08-03 16:38:08 +0200
committerJason Merrill <jason@redhat.com>2025-08-11 16:06:00 -0700
commit041248ca43beb158afae8350117378c98e9191ad (patch)
tree484792252db4d768b4546c6a6c46ce638001e9f1 /libjava/classpath
parent7fe1caf81f19bb625e008ef7e85c6a9cc7753278 (diff)
downloadgcc-041248ca43beb158afae8350117378c98e9191ad.zip
gcc-041248ca43beb158afae8350117378c98e9191ad.tar.gz
gcc-041248ca43beb158afae8350117378c98e9191ad.tar.bz2
c++: Quoting in -fmodules-mapper
Users might be using a space in their build directory path. To allow specifying such a root for the module mapper started by GCC, we need the command to allow quotes. Previously quoting a path passed to the module mapper was not possible, so replace the custom argv parsing with the argv parsing logic from libiberty, that supports fairly standard shell quoting using single and double quotes. The primary purpose of this patch is to allow passing paths with spaces to the --root parameter of the module mapper. No test is included as spaces in build directories are tricky cross platform. The patch was tested manually on my system. gcc/cp/ChangeLog: * mapper-client.cc (spawn_mapper_program): change argv parsing Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions