From: David Levine Date: Tue, 7 Feb 2012 03:47:52 +0000 (-0600) Subject: Caught by the test suite: sequences[0] needs to be initialized to NULL at the beginn... X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=abde85b440e74e4852e96a23fd5f02d2f3bdd370;p=mmh Caught by the test suite: sequences[0] needs to be initialized to NULL at the beginning of the program. That explains why it seg faulted when invoked with a sequence argument. --- diff --git a/uip/new.c b/uip/new.c index 99d8528..752f028 100644 --- a/uip/new.c +++ b/uip/new.c @@ -408,6 +408,8 @@ main(int argc, char **argv) char *unseen; struct node *folder; + sequences[0] = NULL; + #ifdef LOCALE setlocale(LC_ALL, ""); #endif