1994-09-23 00:38:42 +00:00
|
|
|
*** main.c.orig Mon Apr 6 12:59:32 1992
|
|
|
|
--- main.c Thu Sep 22 13:07:12 1994
|
1994-09-21 12:22:34 +00:00
|
|
|
***************
|
|
|
|
*** 1,5 ****
|
1994-09-23 00:38:42 +00:00
|
|
|
--- 1,9 ----
|
1994-09-21 12:22:34 +00:00
|
|
|
/* main.c : main loop of jetpack
|
|
|
|
*/
|
1994-09-23 00:38:42 +00:00
|
|
|
+ #include <sys/types.h>
|
1994-09-21 12:22:34 +00:00
|
|
|
+ #include <sys/time.h>
|
|
|
|
+ #include <sys/resource.h>
|
|
|
|
+
|
|
|
|
|
|
|
|
#include "copyright.h"
|
|
|
|
#include "defs.h"
|
|
|
|
***************
|
|
|
|
*** 18,23 ****
|
1994-09-23 00:38:42 +00:00
|
|
|
--- 22,30 ----
|
1994-09-21 12:22:34 +00:00
|
|
|
int seed;
|
|
|
|
char lev[20];
|
|
|
|
register unsigned long timer;
|
|
|
|
+ struct rlimit l = {0, 0};
|
|
|
|
+
|
|
|
|
+ setrlimit(RLIMIT_CORE, &l);
|
|
|
|
|
|
|
|
/* randomize the random number generator by seeding it with the time
|
|
|
|
in seconds
|