summaryrefslogtreecommitdiff
path: root/sysutils/mkhybrid/patches/patch-af
blob: 548dbb424a09e2e6028e67b8869f37bdc66bdc41 (plain)
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
27
28
29
30
31
32
33
34
--- mkisofs.c.orig	Mon Feb  2 06:01:40 1998
+++ mkisofs.c	Thu May 13 05:30:27 1999
@@ -57,11 +57,6 @@
 
 #include "exclude.h"
 
-#ifdef __NetBSD__
-#include <sys/time.h>
-#include <sys/resource.h>
-#endif
-
 struct directory * root = NULL;
 
 static char version_string[] = "mkhybrid v1.11.1";
@@ -521,19 +516,6 @@
 	usage();
 	exit(1);
       }
-#ifdef __NetBSD__
-    {
-	int resource;
-    struct rlimit rlp;
-	if (getrlimit(RLIMIT_DATA,&rlp) == -1) 
-		perror("Warning: getrlimit");
-	else {
-		rlp.rlim_cur=33554432;
-		if (setrlimit(RLIMIT_DATA,&rlp) == -1)
-			perror("Warning: setrlimit");
-		}
-	}
-#endif
 #ifdef HAVE_SBRK
   mem_start = (unsigned long) sbrk(0);
 #endif