summaryrefslogtreecommitdiff
path: root/parallel/sge/patches/patch-ar
blob: f103715aa559c9e15c3ee9262475574a2383cdfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ar,v 1.3 2006/10/19 11:51:27 markd Exp $

--- source/daemons/shepherd/setrlimits.c.orig	2005-11-23 04:35:03.000000000 +1300
+++ source/daemons/shepherd/setrlimits.c
@@ -437,7 +437,7 @@ static void pushlimit(int resource, stru
       if (rlp->rlim_max < rlp->rlim_cur)
          rlp->rlim_cur = rlp->rlim_max;
 
-#if defined(NECSX4) || defined(NECSX5)
+#if defined(NECSX4) || defined(NECSX5) || defined(NETBSD_ALPHA) || defined(NETBSD_X86_64) || defined(NETBSD_SPARC64)
 #  define limit_fmt "%ld"
 #elif defined(IRIX) || defined(HPUX) || defined(DARWIN) || defined(FREEBSD) || defined(NETBSD) || defined(INTERIX)
 #  define limit_fmt "%lld"