src/winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-03-04 13:50:12 Modified files: winsup/cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.cc: Revert pathname changes from 2012-02-08. (dll_list::operator[]): Add long comment to explain the misery. (dll_list::alloc): Skip long pathname prefix potentially returned by GetModuleFileNameW. * dll_init.h (dll_list::find_by_modname): Add back declaration. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.5733r2=1.5734 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=srcr1=1.100r2=1.101 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.h.diff?cvsroot=srcr1=1.31r2=1.32
src/winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-02-09 14:41:21 Modified files: winsup/cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.h (struct dll): Re-add modname. * dll_init.cc: Throughout, use modname where it was used before. (dll_list::operator[]): Use modname. Move comment from dll_list::alloc here and remove hint about GetModuleBaseNameW. (dll_list::alloc): Store full path in name, pointer to basename in modname. Search dll using modname. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.5690r2=1.5691 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=srcr1=1.99r2=1.100 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.h.diff?cvsroot=srcr1=1.30r2=1.31
src/winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-02-08 17:35:02 Modified files: winsup/cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.cc: Throughout, drop usage of modname in favor of name. (dll_list::find_by_modname): Remove. (dll_list::alloc): Only store module basename in name. Add comment to explain why. Simplify address check. Fix formatting in comment. * dll_init.h (struct dll): Drop modname and find_by_modname. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.5683r2=1.5684 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=srcr1=1.98r2=1.99 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.h.diff?cvsroot=srcr1=1.28r2=1.29
winsup/cygwin ChangeLog dll_init.cc dll_init.h ...
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-30 06:52:13 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h fork.cc spawn.cc child_info.h Log message: * dll_init.cc (dll_list::find_by_modname): New function to search the dll list for a module name only (no path). (dll_list::alloc): Initialize newly-added members of struct dll. (dll_list::append): New function to factor out the append operation (used by dll_list::topsort). (dll_list::populate_deps): New function to identify dll dependencies. (dll_list::topsort): New function to sort the dll list topologically by dependencies. (dll_list::topsort_visit): New helper function for the above. * dll_init.h (dll::ndeps): New class member. (dll::deps): Ditto. (dll::modname): Ditto. (dll_list::find_by_modname): New function related to topsort. (dll_list::populate_all_deps): Ditto. (dll_list::populate_deps): Ditto. (dll_list::topsort): Ditto. (dll_list::topsort_visit): Ditto. (dll_list::append): Ditto. (pefile): New struct allowing simple introspection of dll images. * fork.cc (fork): Topologically sort the dll list before forking * child_info.h (CURR_CHILD_INFO_MAGIC): Refresh. (child_info::refresh_cygheap): New function. * spawn.cc (spawn_guts): Call refresh_cygheap before creating a new process to ensure that cygheap_max is up-to-date. * fork.cc (frok::parent): Ditto. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5385r2=1.5386 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.89r2=1.90 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.24r2=1.25 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.223r2=1.224 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaumr1=1.301r2=1.302 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/child_info.h.diff?cvsroot=uberbaumr1=1.77r2=1.78
winsup/cygwin ChangeLog dll_init.cc dll_init.h ...
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-30 16:09:29 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h fork.cc Log message: * dll_init.cc (reserve_upto): Remove. (release_upto): Ditto. (dll_list::reserve_space): New function to reserve space needed by DLL_LOAD dlls early in the fork process. (dll_list::load_after_fork): Rewrite to use recursion to track reservations it makes while trying to make dlls land where they belong. (dll_list::load_after_fork_impl): New function used by load_after_fork. (dll_list::alloc): Initialize image base field. * dll_init.h (dll_list::prefered_base): New field. (dll_list::reserve_space): Declare new function. (dll_list::load_after_fork): Declare new function. * fork.cc (frok::child): call dll_list::reserve_space early, so we can retry if it fails. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5387r2=1.5388 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.90r2=1.91 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.25r2=1.26 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.224r2=1.225
winsup/cygwin ChangeLog dll_init.cc dll_init.h ...
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-30 17:16:25 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h fhandler.cc Log message: * dll_init.cc (dll_list::append): Eliminate increment of unused tot variable. * dll_init.h (dll_list::tot): Delete. (dll_list::populate_all_deps): Delete undefined function. * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Move EPIPE handling under error condition. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5388r2=1.5389 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.91r2=1.92 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.26r2=1.27 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaumr1=1.389r2=1.390
winsup/cygwin ChangeLog dll_init.cc dll_init.h ...
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-28 20:17:09 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h fork.cc Log message: * dll_init.cc (dll_list::find_by_modname): New function to search the dll list for a module name only (no path). (dll_list::alloc): Initialize newly-added members of struct dll. (dll_list::append): New function to factor out the append operation (used by dll_list::topsort). (dll_list::populate_deps): New function to identify dll dependencies. (dll_list::topsort): New function to sort the dll list topologically by dependencies. (dll_list::topsort_visit): New helper function for the above. * dll_init.h (dll::ndeps): New class member. (dll::deps): Ditto. (dll::modname): Ditto. (dll_list::find_by_modname): New function related to topsort. (dll_list::populate_all_deps): Ditto. (dll_list::populate_deps): Ditto. (dll_list::topsort): Ditto. (dll_list::topsort_visit): Ditto. (dll_list::append): Ditto. (pefile): New struct allowing simple introspection of dll images. * fork.cc (fork): Topologically sort the dll list before forking. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5379r2=1.5380 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.85r2=1.86 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.20r2=1.21 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.220r2=1.221
winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-28 20:27:56 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.cc (reserve_upto): Remove. (release_upto): Ditto. (dll_list::reserve_space): New function to reserve space needed by DLL_LOAD dlls early in the fork process. (dll_list::load_after_fork): Rewrite to use recursion for tracking reservations made while trying to make dlls land where they belong. (dll_list::load_after_fork_impl): Ditto. (dll_list::alloc): Initialize image base field. * dll_init.h (struct dll_list): declare new functions. (dll::image_size): New member. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5380r2=1.5381 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.86r2=1.87 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.21r2=1.22
winsup/cygwin ChangeLog dll_init.cc dll_init.h ...
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-28 20:41:51 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h fork.cc Log message: Revert previous checkins as they introduced a bug when running zsh. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5381r2=1.5382 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.87r2=1.88 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.22r2=1.23 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.221r2=1.222
winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2009-08-21 21:32:06 Modified files: cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.h (has_dtors): New flag. (run_dtors): New wrapper function which avoids calling dtors more than once. * dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper. (dll_list::detach): Ditto. (dll_list::alloc): Set has_dtors flag. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.4634r2=1.4635 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaumr1=1.65r2=1.66 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.h.diff?cvsroot=uberbaumr1=1.17r2=1.18
src/winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-06-06 11:47:29 Modified files: winsup/cygwin : ChangeLog dll_init.cc dll_init.h Log message: * 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. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4508r2=1.4509 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=srcr1=1.60r2=1.61 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.h.diff?cvsroot=srcr1=1.15r2=1.16
src/winsup/cygwin ChangeLog dll_init.cc dll_init.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2008-08-13 08:25:44 Modified files: winsup/cygwin : ChangeLog dll_init.cc dll_init.h Log message: * dll_init.cc: Throughout convert to use long pathnames. * dll_init.h (struct dll): Change name to WCHAR, change operator [] to take PWCHAR argument. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4249r2=1.4250 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=srcr1=1.58r2=1.59 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.h.diff?cvsroot=srcr1=1.14r2=1.15