ref: 67daccb5fd16d15ead42807d57cc66010ef2faa2
parent: eaef5458ab0a5d86885fb81ca7f4084fd77985d2
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Mar 26 19:08:53 EDT 2015
Change ABI version.
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -240,7 +240,7 @@
use = openlib(lib);
if (fgetc(use) != 'U')
fail(1, "library \"%s\" has corrupt or invalid usefile.\n", lib);
- if (rdint(use) != 0)
+ if (rdint(use) != 1)
fail(1, "library '%s' has usefile out of date", lib);
/* we don't care about the usefile's name */
free(rdstr(use));
--- a/parse/use.c
+++ b/parse/use.c
@@ -821,7 +821,7 @@
if (fgetc(f) != 'U')
return 0;
if (rdint(f) != Abiversion) {
- fprintf(stderr, "usefile version mismatch. try rebuilding your deps.\n");
+ fprintf(stderr, "abi version mismatch\n");
return 0;
}
pkg = rdstr(f);