OSDN Git Service

* cygheap_malloc.h: New file.
authorcgf <cgf>
Sat, 1 Aug 2009 19:52:46 +0000 (19:52 +0000)
committercgf <cgf>
Sat, 1 Aug 2009 19:52:46 +0000 (19:52 +0000)
commit020fa83bd8e57995efffb673d0d5803aba9a5c56
tree080658b20d0873d61b3371d8d0c4e8d18cc18e3f
parent520b3566016f5364127378be3edba1fd88828ef4
* cygheap_malloc.h: New file.
* cygheap.h: Remove stuff now included in cygheap_malloc.h and include that
file.  Make cygheap_init a standard c++ function.  Remove unneeded child_info
declaration.
* path.h: Include cygheap_malloc.h.  Remove extra cstrdup declaration.
(path_conv): Reorganize to group variables together.
(path_conv::path): Make const char *.
(path_conv::known_suffix): Ditto.
(path_conv::normalized_path): Ditto.
(path_conv::path_conv): Reorganize initializers to reflect new element
ordering.
(path_conv::get_win32): Change return value to const char *.
(path_conv::set_path): Move back here from spawn.cc.
(parh_conv::modifiable_path): New function.
* path.cc (path_conv::add_ext_from_sym): Accommodate const'ness of
known_suffixes.
(path_conv::set_normalized_path): Ditto for normalized_path.
(path_conv::check): Use modifiable_path whereever we need to modify the path
element.  Use set_path to set the path.
(path_conv::~path_conv): Accommodate new const'ness.
* spawn.cc (perhaps_suffix): Declare ext as const since that's what is being
returned.
(path_conv::set_path): Move back to path.h.
* winf.f (linebuf): Perform minor cleanup.
(linebuf::fromargv): Change second parameter to const.
* winf.cc (linebuf::fromargv): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/cygheap_malloc.h [new file with mode: 0644]
winsup/cygwin/path.cc
winsup/cygwin/path.h
winsup/cygwin/spawn.cc
winsup/cygwin/winf.cc
winsup/cygwin/winf.h