Skip to content
Snippets Groups Projects
Commit 180ebb8a authored by Costas Argyris's avatar Costas Argyris Committed by Jonathan Yong
Browse files

libiberty: On Windows, pass a >32k cmdline through a response file.


pex-win32.c (win32_spawn): If the command line for CreateProcess
exceeds the 32k Windows limit, try to store it in a temporary
response file and call CreateProcess with @file instead (PR71850).

Signed-off-by: default avatarCostas Argyris <costas.argyris@gmail.com>
Signed-off-by: default avatarJonathan Yong <10walls@gmail.com>

libiberty/ChangeLog:

	* pex-win32.c (win32_spawn): Check command line length
	and generate a response file if necessary.
	(spawn_script): Adjust parameters.
	(pex_win32_exec_child): Ditto.

Signed-off-by: default avatarJonathan Yong <10walls@gmail.com>
parent afd87299
No related branches found
No related tags found
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