port-irix.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
#include "includes.h"
#ifdef WITH_IRIX_PROJECT
#include <proj.h>
#endif /* WITH_IRIX_PROJECT */
#ifdef WITH_IRIX_JOBS
#include <sys/resource.h>
#endif
#ifdef WITH_IRIX_AUDIT
#include <sat.h>
#endif /* WITH_IRIX_AUDIT */
void
{
#ifdef WITH_IRIX_PROJECT
#endif /* WITH_IRIX_PROJECT */
#ifdef WITH_IRIX_JOBS
#else
# ifdef WITH_IRIX_ARRAY
int jid = 0;
# endif /* WITH_IRIX_ARRAY */
#endif /* WITH_IRIX_JOBS */
#ifdef WITH_IRIX_JOBS
if (jid == -1)
fatal("Failed to create job container: %.100s",
#endif /* WITH_IRIX_JOBS */
#ifdef WITH_IRIX_ARRAY
/* initialize array session */
if (jid == 0 && newarraysess() != 0)
fatal("Failed to set up new array session: %.100s",
#endif /* WITH_IRIX_ARRAY */
#ifdef WITH_IRIX_PROJECT
/* initialize irix project info */
debug("Failed to get project id, using projid 0");
projid = 0;
}
fatal("Failed to initialize project %d for %s: %.100s",
#endif /* WITH_IRIX_PROJECT */
#ifdef WITH_IRIX_AUDIT
}
#endif /* WITH_IRIX_AUDIT */
}
#endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
#pragma ident "%Z%%M% %I% %E% SMI"