Add a binary flag.

This commit is contained in:
David Given 2022-07-17 13:01:11 +02:00
parent c44f94818f
commit f9785629e0

View file

@ -31,7 +31,7 @@ void cleanup(void)
c = fclose(outfile); c = fclose(outfile);
assert(c != EOF); assert(c != EOF);
outfile = stdout; outfile = stdout;
infile = fopen(tempname, "r"); infile = fopen(tempname, "rb");
if (infile == NULL) if (infile == NULL)
error("temp file disappeared"); error("temp file disappeared");
outshort(sp_magic); outshort(sp_magic);