From abde85b440e74e4852e96a23fd5f02d2f3bdd370 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 6 Feb 2012 21:47:52 -0600 Subject: [PATCH] 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. --- uip/new.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.10.4