This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The GetCommandLine/WinMain "problem"


On Wed, Apr 05, 2006 at 01:02:04PM -0400, Pierre A. Humblet wrote:
>Something else:
>>No, I have no problems with the patch.  I've been playing musical
>>chairs with those two lines.  I wouldn't mind putting them back in
>>dll_crt0_0 either.  Then people who dynamically loaded the DLL would
>>benefit.  My previous reasons for moving those lines back to dll_crt0_1
>>aren't valid,
>
>AFAIK malloc_init cannot go in dll_crt0_0 because it must be called
>after _cygwin_crt0_common .  Otherwise it won't set use_internal_malloc
>correctly.

The two lines that I was talking about did not include malloc_init.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]