shithub: mc

Download patch

ref: 7462d862115db5b21243a451c4a3e9fa6b4265f9
parent: 4165e7ed3983d0a83df8c62932edbe514cbfdad0
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Feb 8 19:02:01 EST 2015

Print error when we can't find symtab to merge into.

--- a/parse/use.c
+++ b/parse/use.c
@@ -820,6 +820,10 @@
             s = st;
         }
     }
+    if (!s) {
+        printf("could not find matching package for merge: %s\n", st->_name);
+        exit(1);
+    }
     tidmap = mkht(ptrhash, ptreq);
     trmap = mkht(ptrhash, ptreq);
     /* builtin traits */