[tex-k] error msg for broken format
Karl Berry
karl at freefriends.org
Sat Jan 16 02:10:25 CET 2010
Date: Sat, 18 Oct 2008 14:08:15 +0200
From: Manuel Pégourié-Gonnard <mpg at elzevir.fr>
[...]
latex: fatal: Could not undump 1 4-byte item(s).
Could it be changed so that it includes the full path to the broken
format file?
I just installed the change below which seems to do that.
Barring problems ...
Taco, I hope you can do the equivalent in luatex, if not previously done.
Thanh/Martin/whomever, please import into pdftex, if not previously done.
Jonathan, please import into xetex, if not previously done.
Thanks,
k
--- texmfmp.c (revision 16728)
+++ texmfmp.c (working copy)
@@ -2165,8 +2165,8 @@
if (fwrite (p, item_size, nitems, out_file) != nitems)
#endif
{
- fprintf (stderr, "! Could not write %d %d-byte item(s).\n",
- nitems, item_size);
+ fprintf (stderr, "! Could not write %d %d-byte item(s) to %s.\n",
+ nitems, item_size, nameoffile+1);
uexit (1);
}
@@ -2192,7 +2192,8 @@
#else
if (fread (p, item_size, nitems, in_file) != (size_t) nitems)
#endif
- FATAL2 ("Could not undump %d %d-byte item(s)", nitems, item_size);
+ FATAL3 ("Could not undump %d %d-byte item(s) from %s",
+ nitems, item_size, nameoffile+1);
#if !defined (WORDS_BIGENDIAN) && !defined (NO_DUMP_SHARE)
More information about the tex-k
mailing list