Skip to content
Snippets Groups Projects
  1. Jun 01, 2006
    • Mark Shinwell's avatar
      Patch to provide pex_run_in_environment. · ea60341e
      Mark Shinwell authored
      	* include/libiberty.h: Declare pex_run_in_environment.
      
      libiberty:
      
      	* pex-common.c: New function pex_run_in_environment.
      	* pex-common.h: Add environment parameter to exec_child.
      	* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
      	* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
      	(pex_djgpp_exec_child): Pass environment to child process.
      	* pex-unix.c: Add environment parameter to pex_unix_exec_child.
      	(pex_unix_exec_child): Pass environment to child process.
      	* pex-win32.c: Add environment parameter to pex_win32_exec_child.
      	New function env_compare for comparing VAR=VALUE pairs.
      	(win32_spawn): Assemble environment block and pass to CreateProcess.
      	(spawn_script): Pass environment through to win32_spawn.
      	(pex_win32_exec_child): Pass environment through to spawn_script and
      	win32_spawn.
      	* functions.texi: Regenerate.
      	* pexecute.txh: Document pex_run_in_environment.
      
      From-SVN: r114302
      ea60341e
  2. May 28, 2006
  3. May 12, 2006
  4. Apr 24, 2006
  5. Apr 12, 2006
    • Jim Blandy's avatar
      pex-common.c (pex_input_file, [...]): New functions. · 8eff378c
      Jim Blandy authored
      src/libiberty/ChangeLog:
      2006-03-29  Jim Blandy  <jimb@codesourcery.com>
      
      	* pex-common.c (pex_input_file, pex_input_pipe): New functions.
      	(pex_init_common): Initialize obj->input_file.
      	(pex_run): Close any file opened by pex_input_file.
      	* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
      	* pex-common.h (struct pex_obj): New field input_file.
      	(struct pex_funcs): New function ptr fdopenw.
      	* pex-unix.c (pex_unix_fdopenw): New function.
      	(funcs): List it as our fdopenw function.
      	* pex-win32.c (pex_win32_fdopenw): New function.
      	(funcs): List it as our fdopenw function.
      	* pex-djgpp.c (funcs): Leave fdopenw null.
      	* pex-msdos (funcs): Same.
      	* functions.texi: Regenerated.
      
      src/include/ChangeLog:
      2006-04-10  Jim Blandy  <jimb@codesourcery.com>
      
      	* libiberty.h (pex_input_file, pex_input_pipe): New declarations.
      
      From-SVN: r112883
      8eff378c
    • Jim Blandy's avatar
      pex-common.c (temp_file): New function, containing guts of pex-style temporary... · 5ea49f9c
      Jim Blandy authored
      pex-common.c (temp_file): New function, containing guts of pex-style temporary file name generation.
      
      2006-04-10  Jim Blandy  <jimb@codesourcery.com>
      
      	* pex-common.c (temp_file): New function, containing guts of
      	pex-style temporary file name generation.
      	(pex_run): Use it.
      
      From-SVN: r112882
      5ea49f9c
  6. Apr 06, 2006
  7. Mar 31, 2006
    • Mark Mitchell's avatar
      pex-win32.c (<errno.h>): Include. · bd9e7c5c
      Mark Mitchell authored
      	* pex-win32.c (<errno.h>): Include.
      	(fix_argv): Remove.
      	(argv_to_cmdline): New function.
      	(std_suffixes): New variable.
      	(no_suffixes): Likewise.
      	(find_executable): New function.
      	(win32_spawn): Likewise.
      	(spawn_script): Use win32_spawn instead of _spawnv[p].
      	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
      	(pex_win32_wait): Likewise.
      
      From-SVN: r112592
      bd9e7c5c
  8. Mar 24, 2006
  9. Mar 13, 2006
  10. Feb 21, 2006
  11. Feb 11, 2006
  12. Jan 29, 2006
  13. Jan 20, 2006
    • Carlos O'Donell's avatar
      Makefile.in: Add test-expandargv test. · 974c2c56
      Carlos O'Donell authored
      libiberty/
      
      2006-01-20  Carlos O'Donell  <carlos@codesourcery.com>
      
      	* testsuite/Makefile.in: Add test-expandargv test.
      	* testsuite/test-expandargv.c: New test.
      	* argv.c (expandargv): Check for errors with ferror,
      	rather than just by looking at return value from fread.
      
      From-SVN: r110047
      974c2c56
  14. Dec 17, 2005
  15. Dec 11, 2005
  16. Nov 07, 2005
    • Richard Guenther's avatar
      splay-tree.c (rotate_left): New function. · 73a08f87
      Richard Guenther authored
      2005-11-07  Richard Guenther  <rguenther@suse.de>
      
      	* splay-tree.c (rotate_left): New function.
      	(rotate_right): Likewise.
      	(splay_tree_splay_helper): Remove.
      	(splay_tree_splay): Re-implement.
      
      From-SVN: r106584
      73a08f87
  17. Oct 31, 2005
    • Mark Kettenis's avatar
      from Mark Kettenis <kettenis@gnu.org> · 0432a5de
      Mark Kettenis authored
      * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
      New variables.
      
      * floatformat.h (enum floatformat_byteorders): Add
      floatformat_vax.
      (floatformat_vax_aingle, floatformat_vax_double): Declare.
      
      From-SVN: r106281
      0432a5de
  18. Oct 07, 2005
  19. Oct 04, 2005
  20. Sep 27, 2005
  21. Sep 26, 2005
  22. Sep 15, 2005
    • Christopher Faylor's avatar
      pex-win32.c: Include "windows.h". · 0d676b85
      Christopher Faylor authored
      * pex-win32.c: Include "windows.h".
      (backslashify): New function.
      (fix_argv): Use backslashify to convert path to windows format.  Allocate one
      more place in new argv for potential executable from '#!' parsing.
      (tack_on_executable): New function.  Conditional on USE_MINGW_MSYS
      (openkey): Ditto.
      (mingw_rootify): Ditto.
      (msys_rootify): Ditto.
      (spawn_script): New function.
      (pex_win32_exec_child): Save translated argv in newargv.  Pass to spawn_script
      if spawnv* fails.
      (main): New function.  Conditional on MAIN.  Useful for testing.
      
      From-SVN: r104292
      0d676b85
  23. Aug 17, 2005
    • Mark Kettenis's avatar
      floatformat.c (floatformat_always_valid): Change type of last argument to `void *'. · e89b6c1c
      Mark Kettenis authored
      [libiberty]
      * floatformat.c (floatformat_always_valid): Change type of last
      argument to `void *'.
      (floatformat_i387_ext_is_valid): Likewise.
      (floatformat_to_double): Change type of second argument to `const
      void *'.
      (floatformat_from_double): Change type of last argument to `void
      *'.
      (floatformat_is_valid): Change type of last argument to `const
      void *'.
      (ieee_test): Remove redundant casts.
      [include]
      * floatformat.h (struct floatformat): Change type of large
      argument for is_valid member to `const void *'.
      (floatformat_to_double): Change type of second argument to `const
      void *'.
      (floatformat_from_double): Change type of last argument to `void
      *'.
      (floatformat_is_valid): Change type of last argument to `const
      void *'.
      
      From-SVN: r103218
      e89b6c1c
    • Kelley Cook's avatar
      strverscmp.c: Update FSF address. · 0cbe2a68
      Kelley Cook authored
      2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* strverscmp.c: Update FSF address.
      	* testsuite/Makefile.in: Likewise.
      	* testsuite/test-demangle.c: Likewise.
      	* testsuite/test-pexecute.c: Likewise.
      
      From-SVN: r103199
      0cbe2a68
  24. Jul 23, 2005
  25. Jul 22, 2005
  26. Jul 15, 2005
  27. Jul 12, 2005
  28. Jul 07, 2005
    • Kelley Cook's avatar
      config.table: Delete file. · 769b009e
      Kelley Cook authored
      2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config.table: Delete file.  Move former contents into ...
      	* configure.ac: ... here and escape any brackets for m4.
      	* Makefile.in (config.status): Remove dependency on config.table.
      	* configure: Regenerate.
      
      From-SVN: r101684
      769b009e
    • Kelley Cook's avatar
      config.in: Regenerate for 6/20 change. · f379ddd1
      Kelley Cook authored
      2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config.in: Regenerate for 6/20 change.
      
      From-SVN: r101683
      f379ddd1
  29. Jul 03, 2005
  30. Jul 01, 2005
Loading