Fix GDB startup on readonly filesystem.
	* charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
This commit is contained in:
Jan Kratochvil 2010-06-24 18:24:03 +00:00
parent 628fe4e4a9
commit 4061892649
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey <tromey@redhat.com>
Fix GDB startup on readonly filesystem.
* charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>

View File

@ -794,7 +794,7 @@ find_charset_names (void)
set_in_environ (iconv_env, "LANGUAGE", "C");
set_in_environ (iconv_env, "LC_ALL", "C");
child = pex_init (0, "iconv", NULL);
child = pex_init (PEX_USE_PIPES, "iconv", NULL);
args[0] = "iconv";
args[1] = "-l";