no arguments dump core on some platforms. Reported by zacheiss in
[1280] in moira.
void test_query(int argc, char **argv)
{
- int status, help = !strcmp(argv[1], "_help");
+ int status, help;
sigset_t sigs;
if (argc < 2)
com_err("moira (query)", 0, "Usage: query handle [ args ... ]");
return;
}
+ help = !strcmp(argv[1], "_help");
count = 0;
/* Don't allow ^C during the query: it will confuse libmoira's