Revision 1973, 822 bytes checked in by munepi, 14 years ago (diff) |
---|
--- texk/dvipsk/virtualfont.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
old | new | |
---|---|---|
36 | 36 | * Subroutine vfbyte returns the next byte. |
37 | 37 | */ |
38 | 38 | static FILE *vffile ; |
39 | static char name[50 |
|
39 | static char name[500] ; | |
40 | 40 | void |
41 | 41 | badvf(char *s) |
42 | 42 | { |
… | … | |
93 | 93 | if (*d==0) |
94 | 94 | d = vfpath ; |
95 | 95 | #endif |
96 | if (strlen(n) + 5 >= sizeof (name)) { | |
97 | /* 5 for vf() + null */ | |
98 | error("! VF file name too long in vfopen") ; | |
99 | } | |
96 | 100 | #ifdef MVSXA /* IBM: MVS/XA */ |
97 | 101 | (void)sprintf(name, "vf(%s)", n) ; |
98 | 102 | #else |