Disabling *.stackdump ?

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Apr 15 14:54:00 GMT 2010


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



More information about the Cygwin mailing list