Generate header as foo.hx so that we don't overwrite it.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25259 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-06-03 17:24:14 +00:00
parent 418b451e55
commit 508add9595

View File

@@ -83,7 +83,7 @@ init_generate (const char *filename, const char *base)
if (headerbase == NULL)
errx(1, "strdup");
}
asprintf(&header, "%s.h", headerbase);
asprintf(&header, "%s.hx", headerbase);
if (header == NULL)
errx(1, "malloc");
headerfile = fopen (header, "w");