OSDN Git Service

* runtime/main.c (please_free_exe_path_when_done): New variable.
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 11:01:15 +0000 (11:01 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 11:01:15 +0000 (11:01 +0000)
commitd30774f57dd6a50e22cae0e57340f1e45d007901
tree671c20848c6885bfd24842cb7c56a2b03340bd2f
parentb2f8852969aa67df9ac70ce6dfd6f9ce2d3a301e
* runtime/main.c (please_free_exe_path_when_done): New variable.
(store_exe_path): Initialize character buffer, and mark whether
exe_path should be free'd by the library destructor function.
(cleanup): Only free exe_path if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123969 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/runtime/main.c