summaryrefslogtreecommitdiff
path: root/sysutils/mkhybrid/patches/patch-af
blob: 033656d57fe498b8c41c9d18065dcdfe7933b077 (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
35
36
$NetBSD: patch-af,v 1.2 1999/05/15 07:27:50 hubertf Exp $

--- mkisofs.c.orig	Tue Apr 27 15:16:03 1999
+++ mkisofs.c	Sat May 15 09:06:35 1999
@@ -57,11 +57,6 @@
 
 #include "exclude.h"
 
-#ifdef __NetBSD__
-#include <sys/time.h>
-#include <sys/resource.h>
-#endif
-
 struct directory * root = NULL;
 
 #ifdef APPLE_HYB
@@ -1136,19 +1131,6 @@
 
 parse_input_files:
 
-#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