OSDN Git Service

* dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY.
authorcorinna <corinna>
Sat, 6 Jun 2009 11:47:29 +0000 (11:47 +0000)
committercorinna <corinna>
Sat, 6 Jun 2009 11:47:29 +0000 (11:47 +0000)
commitafb48dfa59bf0c4d064ecaaf9175042d13f547f1
treea783a1b21cab4120369d80a5d082703160330925
parent1f83095ef7f51da7ec7537cd866b687dca9f9ab4
* dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY.
* dll_init.cc: Fix formatting.
(dll_list::alloc): Only allocate as much memory for struct dll as
necessary for given DLL name.
(dll_list::load_after_fork): Only read a single page of parent memory.
Only read more if namelen indicates that it's necessary.
winsup/cygwin/ChangeLog
winsup/cygwin/dll_init.cc
winsup/cygwin/dll_init.h