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
>
>