aboutsummaryrefslogtreecommitdiff
path: root/games/jetpack/files/patch-ae
blob: 9d8c69d61a53d35f4ed6bbbff88f99cec9284edf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
*** main.c.orig	Mon Apr  6 12:59:32 1992
--- main.c	Thu Sep 22 13:07:12 1994
***************
*** 1,5 ****
--- 1,9 ----
  /*	main.c : main loop of jetpack
  */
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
+ 
  
  #include "copyright.h"
  #include "defs.h"
***************
*** 18,23 ****
--- 22,30 ----
  	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