This is the mail archive of the cygwin 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: Disabling *.stackdump ?


On Thu, Apr 15, 2010 at 10:29:24AM +0200, Corinna Vinschen wrote:
>On Apr 15 09:44, Rurik Christiansen wrote:
>> Hi,
>> 
>> Is there a way to disable the stackdump ? ('ulimit -c 0' doesn't seem to
>> do the trick)
>
>The only way to disable stackdumps right now is to use the respective
>setrlimit(RLIMIT_CORE, ...) call within the application itself.  It's
>not one of the variables propagated to any child process.
>
>However, that shouldn't be too hard to change, we just have to move the
>internal variable keeping track of this value, rlim_core, into the
>cygheap.
>
>Chris?  That should be all, right?

That's what I was thinking yes.  You want me to do it or do you already
have something?

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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