]> git.pld-linux.org Git - packages/busybox.git/blame - busybox-loadfont.patch
- started update to 1.0.0 pre2
[packages/busybox.git] / busybox-loadfont.patch
CommitLineData
4c6ebd20 1diff -Nur busybox-0.60.1/loadfont.c busybox-0.60.1.new/loadfont.c
2--- busybox-0.60.1/loadfont.c Tue Feb 20 07:14:07 2001
3+++ busybox-0.60.1.new/loadfont.c Tue Jun 12 14:49:58 2001
840e1d60 4@@ -155,8 +155,6 @@
5 maybe these do not occur: 16kB for the font,
6 and 16kB for the map leaves 32 unicode values
7 for each font position */
8- if (!feof(stdin))
9- perror_msg_and_die("Font too large");
10
11 /* test for psf first */
12 {
4c6ebd20 13diff -Nur busybox-0.60.1/loadfont.c busybox-0.60.1.new/loadfont.c
14--- busybox-0.60.1/loadfont.c Tue Jun 12 14:52:11 2001
15+++ busybox-0.60.1.new/loadfont.c Tue Jun 12 15:16:20 2001
840e1d60 16@@ -183,8 +183,8 @@
17 head0 = sizeof(struct psf_header);
18
19 head = head0 + fontsize * unit;
20- if (head > inputlth || (!hastable && head != inputlth))
21- error_msg_and_die("Input file: bad length");
22+ /* if (head > inputlth || (!hastable && head != inputlth))
23+ error_msg_and_die("Input file: bad length"); */
24 do_loadfont(fd, inbuf + head0, unit, fontsize);
25 if (hastable)
26 do_loadtable(fd, inbuf + head, inputlth - head, fontsize);
This page took 0.023246 seconds and 4 git commands to generate.