*/
int debugsw = 0;
-pid_t xpid = 0;
/*
* static prototypes
struct smsg *smsgs;
struct msgs *mp;
-#ifdef LOCALE
- setlocale(LC_ALL, "");
-#endif
- invo_name = r1bindex (argv[0], '/');
-
- /* read user profile/context */
- context_read();
+ if (nmh_init(argv[0], 1)) { return 1; }
arguments = getarguments (invo_name, argc, argv, 1);
argp = arguments;
seq_setprev (mp); /* set the previous-sequence */
smsgs = (struct smsg *)
- calloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
+ mh_xcalloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
if (smsgs == NULL)
adios (NULL, "unable to allocate burst storage");