shithub: mc

Download patch

ref: 6659a6a2a9bcfba1c29be686748e297996569eb1
parent: 09c0c2d9ab8c27a6f45c3740a0bf05641fc28832
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Sep 18 10:02:35 EDT 2015

Print which usefile got the ABI version mismatch.

--- a/parse/use.c
+++ b/parse/use.c
@@ -816,7 +816,7 @@
     if (fgetc(f) != 'U')
         return 0;
     if (rdint(f) != Abiversion) {
-        fprintf(stderr, "abi version mismatch\n");
+        fprintf(stderr, "%s: abi version mismatch\n", path);
         return 0;
     }
     pkg = rdstr(f);