Subversion Repositories wimsdev

Rev

Rev 13451 | Rev 14048 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13451 Rev 13458
Line 1136... Line 1136...
1136
  }
1136
  }
1137
}
1137
}
1138
 
1138
 
1139
int main(int argc, char *argv[], char *envp[])
1139
int main(int argc, char *argv[], char *envp[])
1140
{
1140
{
1141
/******************************
-
 
1142
 * modify a few rlimits for 64-bit processors
-
 
1143
 **/
-
 
1144
    int wordSize=32;
-
 
1145
#ifdef __IA64__
-
 
1146
    wordSize=64;
-
 
1147
#endif
-
 
1148
#ifdef __x86_64__
-
 
1149
    wordSize=64;
-
 
1150
#endif
-
 
1151
    if (wordSize==64){
-
 
1152
      rlimit_as*=2;    /* double virtual memory size */
-
 
1153
      rlimit_data*=2;  /* double data segment size; maxima requires a lot */
-
 
1154
      rlimit_stack*=2; /* double stack size */
-
 
1155
    }
-
 
1156
/****************************/
-
 
1157
 
-
 
1158
    char *p, homebuf[MAX_FNAME+1], lbuf[32], buf[64];
1141
    char *p, homebuf[MAX_FNAME+1], lbuf[32], buf[64];
1159
    int inlen=0;
1142
    int inlen=0;
1160
/*    int mfd; */
1143
/*    int mfd; */
1161
 
1144
 
1162
    class_dir[0]=0;
1145
    class_dir[0]=0;