Assuming the original poster is using unix!
(he did not specify)

> -----Original Message-----
> From: Chris "Winston" Litchfield [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 9:41 PM
> To: [email protected]
> Subject: Re: core dumping
> 
> 
> Because I love you guys:
> 
> To help make sure core dumps work  put this code in main()
> 
> /* Make sure we can dump core files. */
> 
> getrlimit(RLIMIT_CORE, &rlim);
> 
> logit("Startup Limit was %ld", rlim.rlim_cur);
> 
> rlim.rlim_cur = RLIM_INFINITY;
> 
> rlim.rlim_max = RLIM_INFINITY;
> 
> setrlimit(RLIMIT_CORE, &rlim);
> 
> getrlimit(RLIMIT_CORE, &rlim);
> 
> logit("Startup Limit is now %ld", rlim.rlim_cur);
> 
> ----- Original Message ----- 
> From: "jester" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, July 30, 2003 5:34 PM
> Subject: core dumping
> 
> 
> > Im currently seeking some how to make a core dump on crashes. Can 
> > someone point me in the right direction to find out on how to 
> > implement this.
> >
> > quickmud rom2.4b6
> >
> >
> > Mucho thanks in advance
> >
> > jester
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
> >
> 
> 
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to