1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/jetpack/files/patch-ae
Jordan K. Hubbard 3391b0f865 The X11 jetpack game, from Jean-Marc Zucconi.
Submitted by:	Jean-Marc Zucconi
1994-09-21 12:22:34 +00:00

26 lines
533 B
Plaintext

*** main.c.orig Wed Sep 21 00:33:35 1994
--- main.c Wed Sep 21 00:35:35 1994
***************
*** 1,5 ****
--- 1,8 ----
/* main.c : main loop of jetpack
*/
+ #include <sys/time.h>
+ #include <sys/resource.h>
+
#include "copyright.h"
#include "defs.h"
***************
*** 18,23 ****
--- 21,29 ----
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